*Fix issue where whispers gets allowed from players when a GM whispers another GM
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user