From 0fcc2c683121844aab7c290c973cb4823207654c Mon Sep 17 00:00:00 2001 From: BotoX Date: Wed, 9 Oct 2019 21:40:19 +0200 Subject: [PATCH] AntiFlood: Don't use KickClientEx, crashed server after 2 years due to a race condition --- AntiFlood/scripting/AntiFlood.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AntiFlood/scripting/AntiFlood.sp b/AntiFlood/scripting/AntiFlood.sp index 8fa66f84..b264426f 100644 --- a/AntiFlood/scripting/AntiFlood.sp +++ b/AntiFlood/scripting/AntiFlood.sp @@ -66,6 +66,6 @@ bool FloodCheck(int client) return false; } - KickClientEx(client, "STOP FLOODING THE SERVER!!!"); + KickClient(client, "STOP FLOODING THE SERVER!!!"); return true; }