Spam protection on /rank

This commit is contained in:
Learath 2020-07-01 23:52:26 +03:00
parent 21c338ad4a
commit f9bf6cf354

View file

@ -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: