Probably fix a crash in SocialMgr.cpp

--HG--
branch : trunk
This commit is contained in:
raczman
2009-03-31 08:36:54 +02:00
parent 075d8a44a5
commit f2df7bbdcc

View File

@@ -196,6 +196,9 @@ void SocialMgr::GetFriendInfo(Player *player, uint32 friendGUID, FriendInfo &fri
Player *pFriend = ObjectAccessor::FindPlayer(friendGUID);
if(!pFriend)
return;
uint32 team = player->GetTeam();
uint32 security = player->GetSession()->GetSecurity();
bool allowTwoSideWhoList = sWorld.getConfig(CONFIG_ALLOW_TWO_SIDE_WHO_LIST);