Fix timeout protection (fixes #2067)

CNetMsg_Cl_Say should not be a system message
This commit is contained in:
def 2020-02-22 09:55:15 +01:00
parent 7691227f24
commit 127372b03d

View file

@ -1984,7 +1984,7 @@ void CClient::ProcessServerPacket(CNetChunk *pPacket)
char aBuf[256];
str_format(aBuf, sizeof(aBuf), "/timeout %s", m_aTimeoutCodes[g_Config.m_ClDummy]);
Msg.m_pMessage = aBuf;
CMsgPacker Packer(Msg.MsgID(), true);
CMsgPacker Packer(Msg.MsgID(), false);
Msg.Pack(&Packer);
SendMsgY(&Packer, MSGFLAG_VITAL, g_Config.m_ClDummy);
}