hopefully stopped anti spoofing from eating a lot of connections
This commit is contained in:
parent
0dfc0c62e7
commit
dea3d6b19b
@ -70,10 +70,12 @@ public void OnPluginStart()
|
|||||||
//----------------------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------------------
|
||||||
public void OnConfigsExecuted()
|
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");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user