AccountMgr singleton converted to namespace with free functions as it has no internal state
This commit is contained in:
1 parent
e67a33eaaa
commit
eddcb8ffbf
13 files changed
+50
-55
No files matched your search
@@ -516,7 +516,7 @@ bool ChatHandler::HasLowerSecurityAccount(WorldSession* target, uint32 target_ac
|
||||
if (target)
|
||||
target_sec = target->GetSecurity();
|
||||
else if (target_account)
|
||||
target_sec = sAccountMgr->GetSecurity(target_account, realmID);
|
||||
target_sec = AccountMgr::GetSecurity(target_account, realmID);
|
||||
else
|
||||
return true; // caller must report error for (target == NULL && target_account == 0)
|
||||
|
||||
|
||||
Reference in new issue
Block a user