AntiFlood: Don't use KickClientEx, crashed server after 2 years due to a race condition
This commit is contained in:
parent
1b07fb0512
commit
0fcc2c6831
@ -66,6 +66,6 @@ bool FloodCheck(int client)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
KickClientEx(client, "STOP FLOODING THE SERVER!!!");
|
KickClient(client, "STOP FLOODING THE SERVER!!!");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user