forked from UNLOZE/sm-plugins
hopefully stopped anti spoofing from eating a lot of connections
This commit is contained in:
@@ -72,9 +72,11 @@ public void OnConfigsExecuted()
|
|||||||
{
|
{
|
||||||
if(!g_hCvar_BlockSpoof.BoolValue)
|
if(!g_hCvar_BlockSpoof.BoolValue)
|
||||||
return;
|
return;
|
||||||
|
if (!g_hDatabase)
|
||||||
|
{
|
||||||
Database.Connect(SQL_OnDatabaseConnect, "PlayerManager");
|
Database.Connect(SQL_OnDatabaseConnect, "PlayerManager");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------------------
|
||||||
// Purpose:
|
// Purpose:
|
||||||
|
|||||||
Reference in New Issue
Block a user