aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2014-11-08 22:52:09 +0100
committerjackpoz <giacomopoz@gmail.com>2014-11-08 22:59:23 +0100
commit6c1ca104edd07adf99e7946fa9b46ce4a849bd5d (patch)
treefebe7e9ff7aaeaf57365f014d1f409b4579fbcca
parent6a2fc7c04303e49eb92b3f0da8d310080da72f03 (diff)
Core/LFG: Fix being unable to re-queue after leaving queue
(cherry picked from commit c2a69e748e243c9c08050c3bca854be3c0dc2130)
-rw-r--r--src/server/game/Handlers/LFGHandler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/game/Handlers/LFGHandler.cpp b/src/server/game/Handlers/LFGHandler.cpp
index 014e9f7b9d6..39e3edb30ed 100644
--- a/src/server/game/Handlers/LFGHandler.cpp
+++ b/src/server/game/Handlers/LFGHandler.cpp
@@ -115,7 +115,9 @@ void WorldSession::HandleLfgJoinOpcode(WorldPacket& recvData)
{
uint32 dungeon;
recvData >> dungeon;
- newDungeons.insert((dungeon & 0x00FFFFFF)); // remove the type from the dungeon entry
+ dungeon &= 0x00FFFFFF; // remove the type from the dungeon entry
+ if (dungeon)
+ newDungeons.insert(dungeon);
}
TC_LOG_DEBUG("lfg", "CMSG_LFG_JOIN %s roles: %u, Dungeons: %u, Comment: %s",