mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
Warden issue - disabled to prevent crash
Code commented out to prevent crash on login. This will be addressed as soon as possible.
This commit is contained in:
parent
f0d405bad1
commit
3a3d19fb18
1 changed files with 6 additions and 5 deletions
|
|
@ -355,8 +355,9 @@ bool WorldSession::Update(PacketFilter& updater)
|
|||
m_Socket = NULL;
|
||||
}
|
||||
|
||||
if (m_Socket && !m_Socket->IsClosed() && _warden)
|
||||
_warden->Update();
|
||||
// WARDEN ISSUE - commented out to stop crash
|
||||
// if (m_Socket && !m_Socket->IsClosed() && _warden)
|
||||
// _warden->Update();
|
||||
|
||||
// check if we are safe to proceed with logout
|
||||
// logout procedure should happen only in World::UpdateSessions() method!!!
|
||||
|
|
@ -366,9 +367,9 @@ bool WorldSession::Update(PacketFilter& updater)
|
|||
time_t currTime = time(NULL);
|
||||
if (!m_Socket || (ShouldLogOut(currTime) && !m_playerLoading))
|
||||
{ LogoutPlayer(true); }
|
||||
|
||||
if (m_Socket && GetPlayer() && _warden)
|
||||
_warden->Update();
|
||||
// WARDEN ISSUE - commented out to stop crash
|
||||
// if (m_Socket && GetPlayer() && _warden)
|
||||
// _warden->Update();
|
||||
|
||||
if (!m_Socket)
|
||||
{ return false; } // Will remove this session from the world session map
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue