Core/Dungeon Finder: Remove disconnected players from LFG queue

Fix LFG queue issues by removing disconnected players from LFG queue and their party with them.
This commit is contained in:
jackpoz committed 2015-09-01 22:33:55 +02:00
1 parent fc17d1a941
commit b7f9836d22
4 files changed
+6 -3

No files matched your search

+1
View File
@@ -256,6 +256,7 @@ class WorldSession
bool PlayerLogout() const { return m_playerLogout; }
bool PlayerLogoutWithSave() const { return m_playerLogout && m_playerSave; }
bool PlayerRecentlyLoggedOut() const { return m_playerRecentlyLogout; }
bool PlayerDisconnected() const { return !m_Socket; }
void ReadAddonsInfo(WorldPacket& data);
void SendAddonsInfo();