mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 11:25:42 +00:00
chore(Misc/Lang): rename LANG_YOU_NOT_HAVE_PERMISSION to LANG_PERMISSION_DENIED (#17732)
This commit is contained in:
committed by
GitHub
parent
b6cb8a572c
commit
0e1bdb1154
@@ -1117,7 +1117,7 @@ void WorldSession::HandleWorldTeleportOpcode(WorldPacket& recv_data)
|
||||
if (AccountMgr::IsAdminAccount(GetSecurity()))
|
||||
GetPlayer()->TeleportTo(mapid, PositionX, PositionY, PositionZ, Orientation);
|
||||
else
|
||||
SendNotification(LANG_YOU_NOT_HAVE_PERMISSION);
|
||||
SendNotification(LANG_PERMISSION_DENIED);
|
||||
}
|
||||
|
||||
void WorldSession::HandleWhoisOpcode(WorldPacket& recv_data)
|
||||
@@ -1128,7 +1128,7 @@ void WorldSession::HandleWhoisOpcode(WorldPacket& recv_data)
|
||||
|
||||
if (!AccountMgr::IsAdminAccount(GetSecurity()))
|
||||
{
|
||||
SendNotification(LANG_YOU_NOT_HAVE_PERMISSION);
|
||||
SendNotification(LANG_PERMISSION_DENIED);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user