diff options
Diffstat (limited to 'src/game/SocialMgr.cpp')
-rw-r--r-- | src/game/SocialMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SocialMgr.cpp b/src/game/SocialMgr.cpp index 119b968a45a..1fc3f83ab1b 100644 --- a/src/game/SocialMgr.cpp +++ b/src/game/SocialMgr.cpp @@ -196,7 +196,7 @@ void SocialMgr::GetFriendInfo(Player *player, uint32 friendGUID, FriendInfo &fri return; uint32 team = player->GetTeam(); - uint32 security = player->GetSession()->GetSecurity(); + AccountTypes security = player->GetSession()->GetSecurity(); bool allowTwoSideWhoList = sWorld.getConfig(CONFIG_ALLOW_TWO_SIDE_WHO_LIST); bool gmInWhoList = sWorld.getConfig(CONFIG_GM_IN_WHO_LIST) || security > SEC_PLAYER; @@ -267,7 +267,7 @@ void SocialMgr::BroadcastToFriendListers(Player *player, WorldPacket *packet) return; uint32 team = player->GetTeam(); - uint32 security = player->GetSession()->GetSecurity(); + AccountTypes security = player->GetSession()->GetSecurity(); uint32 guid = player->GetGUIDLow(); bool gmInWhoList = sWorld.getConfig(CONFIG_GM_IN_WHO_LIST); bool allowTwoSideWhoList = sWorld.getConfig(CONFIG_ALLOW_TWO_SIDE_WHO_LIST); |