mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Don't allow voting "info"
This commit is contained in:
parent
7f3b86227c
commit
55743535c6
|
@ -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);
|
SendChat(-1, CGameContext::CHAT_ALL, aChatmsg);
|
||||||
StartVote(aDesc, aCmd, pReason);
|
StartVote(aDesc, aCmd, pReason);
|
||||||
|
|
Loading…
Reference in a new issue