From ffc91e19f16a512f4cb49d981e3e430182cc835d Mon Sep 17 00:00:00 2001 From: terencehill Date: Wed, 31 Jul 2024 16:57:25 +0200 Subject: [PATCH] Fix cmd flood control blocking cmds after only a few cmds at startup --- qcsrc/server/client.qc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index 575d6d971..854c1f0d0 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -1115,6 +1115,9 @@ void ClientConnect(entity this) TRANSMUTE(Client, this); CS(this).version_nagtime = time + 10 + random() * 10; + entity store = IS_CLIENT(this) ? CS(this) : this; + store.cmd_floodtime = -999999; + Send_Notification(NOTIF_ALL, NULL, MSG_INFO, INFO_JOIN_CONNECT, this.netname); bot_clientconnect(this); -- 2.39.2