Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
This commit is contained in:
commit
6b4e476111
5 files changed
+54
-25
No files matched your search
@@ -99,6 +99,14 @@ void WorldSession::HandleMessagechatOpcode(WorldPacket& recvData)
|
||||
return;
|
||||
}
|
||||
|
||||
if (lang == LANG_UNIVERSAL)
|
||||
{
|
||||
TC_LOG_ERROR("network", "CMSG_MESSAGECHAT: Possible hacking-attempt: %s tried to send a message in universal language", GetPlayerInfo().c_str());
|
||||
SendNotification(LANG_UNKNOWN_LANGUAGE);
|
||||
recvData.rfinish();
|
||||
return;
|
||||
}
|
||||
|
||||
Player* sender = GetPlayer();
|
||||
|
||||
//TC_LOG_DEBUG("misc", "CHAT: packet received. type %u, lang %u", type, lang);
|
||||
|
||||
Reference in new issue
Block a user