diff options
author | JohnHoliver <johnholiver@gmail.com> | 2011-01-14 16:55:50 -0200 |
---|---|---|
committer | click <per.wilhelmsen@gmail.com> | 2011-01-14 21:05:02 +0100 |
commit | db72c4f5612eb44ce39f6818856fbf775d415af6 (patch) | |
tree | 27a462c0739cb6f713db3a06e7e36f204427d9cb /src/server/game/Chat/Chat.cpp | |
parent | 458c7c642fc57b5ea84dde2a799191945c880c51 (diff) |
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>
Diffstat (limited to 'src/server/game/Chat/Chat.cpp')
-rwxr-xr-x | src/server/game/Chat/Chat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |