about summary refs log tree commit diff
path: root/src/game/client
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2010-10-13 20:31:21 +0200
committeroy <Tom_Adams@web.de>2010-10-13 20:31:21 +0200
commitfa768449e28b2ad494eb4d2340886583599805ec (patch)
treef474c330d68d6bd52881161cb45c3419bd21d909 /src/game/client
parentbe315edfc052a5aa1c7d9d48394e0997a989c8ae (diff)
downloadzcatch-fa768449e28b2ad494eb4d2340886583599805ec.tar.gz
zcatch-fa768449e28b2ad494eb4d2340886583599805ec.zip
fixed issue with reason on forcevotekick
Diffstat (limited to 'src/game/client')
-rw-r--r--src/game/client/components/voting.cpp2
1 files changed, 1 insertions, 1 deletions
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);