*Fix issue where whispers gets allowed from players when a GM whispers another GM

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2008-12-23 11:00:11 +01:00
parent cce6986e4f
commit b984933841
+1 -1
View File
@@ -16317,7 +16317,7 @@ void Player::Whisper(const std::string& text, uint32 language,uint64 receiver)
ChatHandler(this).PSendSysMessage(LANG_PLAYER_DND, rPlayer->GetName(), rPlayer->dndMsg.c_str());
}
if(!isAcceptWhispers())
if(!isAcceptWhispers() && !isGameMaster() && !rPlayer->isGameMaster())
{
SetAcceptWhispers(true);
ChatHandler(this).SendSysMessage(LANG_COMMAND_WHISPERON);