Probably fix a crash in SocialMgr.cpp
--HG-- branch : trunk
This commit is contained in:
1 parent
075d8a44a5
commit
f2df7bbdcc
1 file changed
+3
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user