Fix whisper blocking

This commit is contained in:
Rochet2 2018-03-24 14:45:31 +02:00 committed by Antz
parent 737fc48970
commit 6a16cd8cc6

View File

@ -254,7 +254,8 @@ void WorldSession::HandleMessagechatOpcode(WorldPacket& recv_data)
// Used by Eluna
#ifdef ENABLE_ELUNA
sEluna->OnChat(GetPlayer(), type, lang, msg, player);
if (!sEluna->OnChat(GetPlayer(), type, lang, msg, player))
return;
#endif /* ENABLE_ELUNA */
#ifdef ENABLE_PLAYERBOTS
if (player->GetPlayerbotAI())