mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Spam protection on /rank
This commit is contained in:
parent
21c338ad4a
commit
f9bf6cf354
|
@ -933,7 +933,7 @@ void CPlayer::ProcessScoreResult(CScorePlayerResult &Result)
|
||||||
{
|
{
|
||||||
if(Result.m_Data.m_aaMessages[i][0] == 0)
|
if(Result.m_Data.m_aaMessages[i][0] == 0)
|
||||||
break;
|
break;
|
||||||
GameServer()->SendChat(-1, CGameContext::CHAT_ALL, Result.m_Data.m_aaMessages[i]);
|
GameServer()->SendChat(-1, CGameContext::CHAT_ALL, Result.m_Data.m_aaMessages[i], m_ClientID);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case CScorePlayerResult::BROADCAST:
|
case CScorePlayerResult::BROADCAST:
|
||||||
|
|
Loading…
Reference in a new issue