mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fix timeout protection (fixes #2067)
CNetMsg_Cl_Say should not be a system message
This commit is contained in:
parent
7691227f24
commit
127372b03d
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue