[AntiFlood] Block all commands from unconnected players, can't kick them while unconnected.

This commit is contained in:
zaCade 2023-01-28 14:46:17 +01:00
parent 987c643838
commit d31c79c1b1

View File

@ -55,6 +55,9 @@ bool FloodCheck(int client)
if(client <= 0 || client > MaxClients)
return false;
if(!IsClientConnected(client))
return true;
if(++g_Client_CommandCount[client] <= MAX_COMMANDS)
return false;