]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
let's not care for those tempstrings for now
authorRudolf Polzer <divverent@xonotic.org>
Mon, 24 Oct 2011 12:03:01 +0000 (14:03 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 24 Oct 2011 12:03:41 +0000 (14:03 +0200)
qcsrc/server/clientcommands.qc

index 92336234a0fedccc44934b688c77bf17bbdbef19..cfbc5ff18427f68e033e26bb70e5fc53afa447ad 100644 (file)
@@ -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;