From b7178c03d64c34453d352a626c72dfc5ae85e498 Mon Sep 17 00:00:00 2001 From: esteel Date: Sun, 11 Jun 2006 15:47:32 +0000 Subject: [PATCH] fixed some localcmd's without \n git-svn-id: svn://svn.icculus.org/nexuiz/trunk@1561 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/qcsrc/server/gamec/clientcommands.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/qcsrc/server/gamec/clientcommands.c b/data/qcsrc/server/gamec/clientcommands.c index ca14a69ac..5d5a93f5c 100644 --- a/data/qcsrc/server/gamec/clientcommands.c +++ b/data/qcsrc/server/gamec/clientcommands.c @@ -38,7 +38,7 @@ void SV_ParseClientCommand(string s) { index++; } ServerConsoleEcho(strcat("ClientCommands: ", self.netname, " issued command '", command, "'"), TRUE); - localcmd(command); + localcmd(strcat(command, "\n")); } else sprint(self, "You don't have remote admin status.\n"); } else { @@ -139,7 +139,7 @@ void SV_ParseClientCommand(string s) { sprint(self, "^1Your command was empty. See help for more info.\n"); } else if(VoteAllowed(strcat(argv(2)))) { // strcat seems to be necessary bprint("\"^7", strcat(self.netname, "^2 used his ^3master^2 status to do \"^2", dovote, "^2\".\n")); - localcmd(dovote); + localcmd(strcat(dovote, "\n")); } else { sprint(self, "^1This command is not ok. See help for more info.\n"); } @@ -373,7 +373,7 @@ void VoteAccept() { { votecaller.vote_master = 1; } else { - localcmd(votecalledvote); + localcmd(strcat(votecalledvote, "\n")); } votecaller.vote_next = 0; // people like your votes, no wait for next vote VoteReset(); -- 2.39.2