From fa768449e28b2ad494eb4d2340886583599805ec Mon Sep 17 00:00:00 2001 From: oy Date: Wed, 13 Oct 2010 20:31:21 +0200 Subject: fixed issue with reason on forcevotekick --- src/game/client/components/voting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/client/components/voting.cpp') diff --git a/src/game/client/components/voting.cpp b/src/game/client/components/voting.cpp index 8a98e1b0..59f6d934 100644 --- a/src/game/client/components/voting.cpp +++ b/src/game/client/components/voting.cpp @@ -59,7 +59,7 @@ void CVoting::ForcevoteKick(int ClientId, const char *pReason) { char aBuf[32]; if(pReason[0]) - str_format(aBuf, sizeof(aBuf), "kick %d \"%s\"", ClientId, pReason); + str_format(aBuf, sizeof(aBuf), "kick %d %s", ClientId, pReason); else str_format(aBuf, sizeof(aBuf), "kick %d", ClientId); Client()->Rcon(aBuf); -- cgit 1.4.1