diff --git a/AntiFlood/scripting/AntiFlood.sp b/AntiFlood/scripting/AntiFlood.sp index b264426f..17834e0b 100644 --- a/AntiFlood/scripting/AntiFlood.sp +++ b/AntiFlood/scripting/AntiFlood.sp @@ -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;