[9793] Add 'Logout Player' output to the Char.log

This commit is contained in:
DasBlub 2010-04-25 18:28:43 +02:00 committed by arrai
parent 5902f6cf77
commit 26cbb01556
3 changed files with 8 additions and 6 deletions

View file

@ -302,6 +302,8 @@ void WorldSession::LogoutPlayer(bool Save)
if (_player)
{
sLog.outChar("Account: %d (IP: %s) Logout Character:[%s] (guid: %u)", GetAccountId(), GetRemoteAddress().c_str(), _player->GetName() ,_player->GetGUIDLow());
if (uint64 lguid = GetPlayer()->GetLootGUID())
DoLootRelease(lguid);