From 55743535c690cc01762ee08d1d56a14c48204685 Mon Sep 17 00:00:00 2001 From: def Date: Tue, 30 Jul 2013 00:41:35 +0200 Subject: [PATCH] Don't allow voting "info" --- src/game/server/gamecontext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/server/gamecontext.cpp b/src/game/server/gamecontext.cpp index bde326163..3f796cfa1 100644 --- a/src/game/server/gamecontext.cpp +++ b/src/game/server/gamecontext.cpp @@ -1032,7 +1032,7 @@ void CGameContext::OnMessage(int MsgID, CUnpacker *pUnpacker, int ClientID) } } - if(aCmd[0] && str_comp(pCommand,"info")) + if(aCmd[0] && str_comp(aCmd,"info")) { SendChat(-1, CGameContext::CHAT_ALL, aChatmsg); StartVote(aDesc, aCmd, pReason);