mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
Revert "chore(Script/Misc): cleanup" (#19627)
Revert "chore(Script/Misc): cleanup (#19619)"
This reverts commit 7ff8f72397.
This commit is contained in:
@@ -170,12 +170,12 @@ public:
|
||||
if (Player* player = ObjectAccessor::FindPlayerByName(*playerNameArg))
|
||||
{
|
||||
handler->GetSession()->GetPlayer()->RemoveFromWhisperWhiteList(player->GetGUID());
|
||||
handler->PSendSysMessage(LANG_COMMAND_WHISPEROFFPLAYER, playerNameArg);
|
||||
handler->PSendSysMessage(LANG_COMMAND_WHISPEROFFPLAYER, playerNameArg->c_str());
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
handler->SendErrorMessage(LANG_PLAYER_NOT_FOUND, playerNameArg);
|
||||
handler->SendErrorMessage(LANG_PLAYER_NOT_FOUND, playerNameArg->c_str());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user