about summary refs log tree commit diff
path: root/src/game/server
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/server
parentbe315edfc052a5aa1c7d9d48394e0997a989c8ae (diff)
downloadzcatch-fa768449e28b2ad494eb4d2340886583599805ec.tar.gz
zcatch-fa768449e28b2ad494eb4d2340886583599805ec.zip
fixed issue with reason on forcevotekick
Diffstat (limited to 'src/game/server')
-rw-r--r--src/game/server/gamecontext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/server/gamecontext.cpp b/src/game/server/gamecontext.cpp
index 0faba6fc..ce3be58f 100644
--- a/src/game/server/gamecontext.cpp
+++ b/src/game/server/gamecontext.cpp
@@ -682,12 +682,12 @@ void CGameContext::OnMessage(int MsgId, CUnpacker *pUnpacker, int ClientId)
 			str_format(aChatmsg, sizeof(aChatmsg), "'%s' called for vote to kick '%s' (%s)", Server()->ClientName(ClientId), Server()->ClientName(KickId), pReason);
 			str_format(aDesc, sizeof(aDesc), "Kick '%s'", Server()->ClientName(KickId));
 			if (!g_Config.m_SvVoteKickBantime)
-				str_format(aCmd, sizeof(aCmd), "kick %d \"Kicked by vote\"", KickId);
+				str_format(aCmd, sizeof(aCmd), "kick %d Kicked by vote", KickId);
 			else
 			{
 				char aBuf[64] = {0};
 				Server()->GetClientIP(KickId, aBuf, sizeof(aBuf));
-				str_format(aCmd, sizeof(aCmd), "ban %s %d \"Banned by vote\"", aBuf, g_Config.m_SvVoteKickBantime);
+				str_format(aCmd, sizeof(aCmd), "ban %s %d Banned by vote", aBuf, g_Config.m_SvVoteKickBantime);
 			}
 		}