From 77f9628fbab31079cbbfe1b55c0612efb346fa46 Mon Sep 17 00:00:00 2001 From: div0 Date: Mon, 12 Jun 2006 18:44:11 +0000 Subject: [PATCH] ServerConsoleEcho ate my tempstring! git-svn-id: svn://svn.icculus.org/nexuiz/trunk/data@1592 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- qcsrc/server/clientcommands.qc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcsrc/server/clientcommands.qc b/qcsrc/server/clientcommands.qc index 5d5a93f5c..734932129 100644 --- a/qcsrc/server/clientcommands.qc +++ b/qcsrc/server/clientcommands.qc @@ -37,8 +37,10 @@ void SV_ParseClientCommand(string s) { command = strcat(command, " ", argv(index)); index++; } + command = strzone(command); ServerConsoleEcho(strcat("ClientCommands: ", self.netname, " issued command '", command, "'"), TRUE); localcmd(strcat(command, "\n")); + strunzone(command); } else sprint(self, "You don't have remote admin status.\n"); } else { -- 2.39.2