AccountMgr singleton converted to namespace with free functions as it has no internal state

This commit is contained in:
Spp- committed 2011-09-08 10:49:58 +02:00
1 parent e67a33eaaa
commit eddcb8ffbf
13 files changed
+50 -55

No files matched your search

+1 -1
View File
@@ -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)