mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix command quota warning message
Fix command not getting logged properly when user exceeds quota.
This commit is contained in:
parent
bee83bc9ac
commit
1e0248a442
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user