AntiFlood: Don't use KickClientEx, crashed server after 2 years due to a race condition

This commit is contained in:
BotoX 2019-10-09 21:40:19 +02:00
parent 1b07fb0512
commit 0fcc2c6831

View File

@ -66,6 +66,6 @@ bool FloodCheck(int client)
return false;
}
KickClientEx(client, "STOP FLOODING THE SERVER!!!");
KickClient(client, "STOP FLOODING THE SERVER!!!");
return true;
}