mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 09:39:11 +00:00
feat(Core/Misc): implement ObjectGuid class (port from TC) (#4885)
This commit is contained in:
@@ -139,7 +139,7 @@ public:
|
||||
}
|
||||
|
||||
// check online security
|
||||
if (handler->HasLowerSecurity(player, 0))
|
||||
if (handler->HasLowerSecurity(player))
|
||||
return false;
|
||||
|
||||
if (strncmp(args, "on", 3) == 0)
|
||||
@@ -190,7 +190,7 @@ public:
|
||||
|
||||
if (!chr)
|
||||
chr = handler->GetSession()->GetPlayer();
|
||||
else if (handler->HasLowerSecurity(chr, 0)) // check online security
|
||||
else if (handler->HasLowerSecurity(chr)) // check online security
|
||||
return false;
|
||||
|
||||
if (!*args)
|
||||
|
||||
Reference in New Issue
Block a user