diff options
author | megamage <none@none> | 2009-09-01 16:56:02 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-09-01 16:56:02 -0500 |
commit | 28e229d8a894619629e8c5bd745fcc274b417729 (patch) | |
tree | f3493dd2f5bd08cded03ada913fdcbced711b692 /src/game/WorldSession.cpp | |
parent | 09ce96265b42531b21af96fb103101295323836b (diff) |
[8436] Return CMSG_SET_ACTIVE_VOICE_CHANNEL to STATUS_AUTHED. Author: VladimirMangos
It sent not only just after logout but also just before login packet.
--HG--
branch : trunk
Diffstat (limited to 'src/game/WorldSession.cpp')
-rw-r--r-- | src/game/WorldSession.cpp | 6 |
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); |