Core/Chat: Fix unitialized lang variable (set to LANG_UNIVERSAL) when text type is emote, afk or dnd
This commit is contained in:
1 parent
f5d19939bf
commit
45910ab638
1 file changed
+2
@@ -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