From: Rudolf Polzer Date: Mon, 24 Oct 2011 12:03:01 +0000 (+0200) Subject: let's not care for those tempstrings for now X-Git-Tag: xonotic-v0.6.0~40^2~14 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2b25166c227ce8c4c6ce20cdd917bf3bbdf8199a;p=xonotic%2Fxonotic-data.pk3dir.git let's not care for those tempstrings for now --- diff --git a/qcsrc/server/clientcommands.qc b/qcsrc/server/clientcommands.qc index 92336234a..cfbc5ff18 100644 --- a/qcsrc/server/clientcommands.qc +++ b/qcsrc/server/clientcommands.qc @@ -159,17 +159,11 @@ void SV_ParseClientCommand(string s) { if(cmd_name != "begin") { if(cmd_floodcheck()) - { - cmd_string = cmd_name = string_null; // unreference tempstrings return; - } } - if(MUTATOR_CALLHOOK(SV_ParseClientCommand)) { - cmd_string = cmd_name = string_null; // unreference tempstrings + if(MUTATOR_CALLHOOK(SV_ParseClientCommand)) return; // already handled - } - cmd_string = cmd_name = string_null; // unreference tempstrings if(GameCommand_Vote(s, self)) { return;