chore(Script/Misc): cleanup (#19619)
* chore(Script/Misc): cleanup * more cleanup * cleanup
This commit is contained in:
parent
030716421f
commit
7ff8f72397
21 changed files with 145 additions and 122 deletions
|
|
@ -170,12 +170,12 @@ public:
|
|||
if (Player* player = ObjectAccessor::FindPlayerByName(*playerNameArg))
|
||||
{
|
||||
handler->GetSession()->GetPlayer()->RemoveFromWhisperWhiteList(player->GetGUID());
|
||||
handler->PSendSysMessage(LANG_COMMAND_WHISPEROFFPLAYER, playerNameArg->c_str());
|
||||
handler->PSendSysMessage(LANG_COMMAND_WHISPEROFFPLAYER, playerNameArg);
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
handler->SendErrorMessage(LANG_PLAYER_NOT_FOUND, playerNameArg->c_str());
|
||||
handler->SendErrorMessage(LANG_PLAYER_NOT_FOUND, playerNameArg);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue