Fix command quota warning message

Fix command not getting logged properly when user exceeds quota.
This commit is contained in:
Kawe Mazidjatari 2023-02-17 23:55:27 +01:00
parent bee83bc9ac
commit 1e0248a442

View File

@ -728,7 +728,7 @@ bool Cmd_ForwardToServer(const CCommand* args)
{
// If we are over quota commands per second, dump this on the floor.
// If we spam the server with too many commands, it will kick us.
Warning(eDLL_T::CLIENT, "Command '%s' ignored (submission quota of '%d' per second exceeded!)\n", args->ArgS(), nCmdQuotaLimit);
Warning(eDLL_T::CLIENT, "Command '%s' ignored (submission quota of '%d' per second exceeded!)\n", pszCmdString, nCmdQuotaLimit);
return false;
}
}