[8436] Return CMSG_SET_ACTIVE_VOICE_CHANNEL to STATUS_AUTHED.

It sent not only just after logout but also just before login packet.
This commit is contained in:
VladimirMangos 2009-08-29 21:28:10 +04:00
parent a33ba233c7
commit a86abcf977
3 changed files with 7 additions and 3 deletions

View file

@ -234,7 +234,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);