mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[9793] Add 'Logout Player' output to the Char.log
This commit is contained in:
parent
5902f6cf77
commit
26cbb01556
3 changed files with 8 additions and 6 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue