aboutsummaryrefslogtreecommitdiff
path: root/src/game/WorldSession.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/WorldSession.cpp')
-rw-r--r--src/game/WorldSession.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/game/WorldSession.cpp b/src/game/WorldSession.cpp
index fc3ddb4b486..97d79e10635 100644
--- a/src/game/WorldSession.cpp
+++ b/src/game/WorldSession.cpp
@@ -240,7 +240,11 @@ bool WorldSession::Update(uint32 /*diff*/)
break;
}
- m_playerRecentlyLogout = false;
+ // single from authed time opcodes send in to after logout time
+ // and before other STATUS_LOGGEDIN_OR_RECENTLY_LOGGOUT opcodes.
+ if (packet->GetOpcode() != CMSG_SET_ACTIVE_VOICE_CHANNEL)
+ m_playerRecentlyLogout = false;
+
(this->*opHandle.handler)(*packet);
if (sLog.IsOutDebug() && packet->rpos() < packet->wpos())
LogUnprocessedTail(packet);