Core/Chat: Fix unitialized lang variable (set to LANG_UNIVERSAL) when text type is emote, afk or dnd

This commit is contained in:
Nay
2012-08-04 17:55:45 +01:00
parent f5d19939bf
commit 45910ab638

View File

@@ -225,6 +225,8 @@ void WorldSession::HandleMessagechatOpcode(WorldPacket& recvData)
}
}
}
else
lang = LANG_UNIVERSAL;
if (sender->HasAura(1852) && type != CHAT_MSG_WHISPER)
{