Core/Players: Allow players to answer gamemaster whispers even if whispers are disabled. Whitelist can be reset by .whispers off
This commit is contained in:
@@ -610,6 +610,8 @@ bool ChatHandler::HandleWhispersCommand(const char* args)
|
||||
// whisper off
|
||||
if (argstr == "off")
|
||||
{
|
||||
// Remove all players from the Gamemaster's whisper whitelist
|
||||
m_session->GetPlayer()->ClearWhisperWhiteList();
|
||||
m_session->GetPlayer()->SetAcceptWhispers(false);
|
||||
SendSysMessage(LANG_COMMAND_WHISPEROFF);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user