Make guid lookup for adding ignore async.

This commit is contained in:
hunuza 2008-11-02 20:23:25 +01:00
parent c6eadf5565
commit e9fc699d86
6 changed files with 33 additions and 34 deletions

View file

@ -373,7 +373,7 @@ void WorldSession::LogoutPlayer(bool Save)
_player->GetGroup()->SendUpdate();
///- Broadcast a logout message to the player's friends
sSocialMgr.SendFriendStatus(_player, FRIEND_OFFLINE, _player->GetGUIDLow(), "", true);
sSocialMgr.SendFriendStatus(_player, FRIEND_OFFLINE, _player->GetGUIDLow(), true);
///- Delete the player object
_player->CleanupsBeforeDelete(); // do some cleanup before deleting to prevent crash at crossreferences to already deleted data