mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
Core/Chat: Fix unitialized lang variable (set to LANG_UNIVERSAL) when text type is emote, afk or dnd
This commit is contained in:
@@ -225,6 +225,8 @@ void WorldSession::HandleMessagechatOpcode(WorldPacket& recvData)
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
lang = LANG_UNIVERSAL;
|
||||
|
||||
if (sender->HasAura(1852) && type != CHAT_MSG_WHISPER)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user