From db72c4f5612eb44ce39f6818856fbf775d415af6 Mon Sep 17 00:00:00 2001 From: JohnHoliver Date: Fri, 14 Jan 2011 16:55:50 -0200 Subject: 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 --- src/server/game/Chat/Chat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/game/Chat/Chat.cpp') diff --git a/src/server/game/Chat/Chat.cpp b/src/server/game/Chat/Chat.cpp index 30fe5de05a1..fedf1c33f4c 100755 --- a/src/server/game/Chat/Chat.cpp +++ b/src/server/game/Chat/Chat.cpp @@ -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) -- cgit v1.2.3