mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-21 12:47:07 +00:00
Merge branch 'master' into Playerbot
# Conflicts: # src/server/game/World/World.h
This commit is contained in:
@@ -703,7 +703,7 @@ void WorldSession::LogoutPlayer(bool save)
|
||||
METRIC_EVENT("player_events", "Logout", _player->GetName());
|
||||
|
||||
LOG_INFO("entities.player", "Account: {} (IP: {}) Logout Character:[{}] ({}) Level: {}",
|
||||
GetAccountId(), GetRemoteAddress(), _player->GetName(), _player->GetGUID().ToString(), _player->getLevel());
|
||||
GetAccountId(), GetRemoteAddress(), _player->GetName(), _player->GetGUID().ToString(), _player->GetLevel());
|
||||
|
||||
uint32 statementIndex = CHAR_UPD_ACCOUNT_ONLINE;
|
||||
uint32 statementParam = GetAccountId();
|
||||
|
||||
@@ -385,7 +385,10 @@ WorldSocket::ReadDataHandlerResult WorldSocket::ReadDataHandler()
|
||||
}
|
||||
|
||||
// Our Idle timer will reset on any non PING opcodes on login screen, allowing us to catch people idling.
|
||||
_worldSession->ResetTimeOutTime(false);
|
||||
if (packetToQueue->GetOpcode() != CMSG_WARDEN_DATA)
|
||||
{
|
||||
_worldSession->ResetTimeOutTime(false);
|
||||
}
|
||||
|
||||
// Copy the packet to the heap before enqueuing
|
||||
_worldSession->QueuePacket(packetToQueue);
|
||||
|
||||
Reference in New Issue
Block a user