mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
ignored empty /me
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
This commit is contained in:
parent
b69593e55c
commit
ba65baea2c
|
@ -853,7 +853,7 @@ void CGameContext::OnMessage(int MsgId, CUnpacker *pUnpacker, int ClientId)
|
|||
else if(!str_comp_num(pMsg->m_pMessage, "/me", 3))
|
||||
{
|
||||
char aMsg[256]="";
|
||||
if(sscanf(pMsg->m_pMessage, "/me %256c", aMsg))
|
||||
if(sscanf(pMsg->m_pMessage, "/me %256c", aMsg) == 1)
|
||||
{
|
||||
char Temp[256+24]="";
|
||||
strcat(Temp,Server()->ClientName(ClientId));
|
||||
|
|
Loading…
Reference in a new issue