Core - Modifies a few security checks to take realm id into consideration. It will enable add friends which have moderators (or more) status in other realms and cease undue AH activity logging from those same accounts.
Signed-off-by: click <per.wilhelmsen@gmail.com>
This commit is contained in:
1 parent
458c7c642f
commit
db72c4f561
3 files changed
+3
-3
No files matched your search
@@ -529,7 +529,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);
|
||||
target_sec = sAccountMgr->GetSecurity(target_account, realmID);
|
||||
else
|
||||
return true; // caller must report error for (target == NULL && target_account == 0)
|
||||
|
||||
|
||||
Reference in new issue
Block a user