From abedfe245f176fd421a91301d97ba89a73251ab6 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Sun, 19 Feb 2023 13:33:46 +0100 Subject: [PATCH] fix(Core/PacketIO): Remove wrong QueuePacket() (#15124) --- src/server/game/Server/WorldSession.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/server/game/Server/WorldSession.cpp b/src/server/game/Server/WorldSession.cpp index 4381e2e03..0fd338f40 100644 --- a/src/server/game/Server/WorldSession.cpp +++ b/src/server/game/Server/WorldSession.cpp @@ -332,11 +332,10 @@ bool WorldSession::Update(uint32 diff, PacketFilter& updater) //! the client to be in world yet. We will re-add the packets to the bottom of the queue and process them later. if (!m_playerRecentlyLogout) { - requeuePackets.push_back(packet); + // requeuePackets.push_back(packet); deletePacket = false; - QueuePacket(packet); - LOG_DEBUG("network", "Re-enqueueing packet with opcode %s with with status STATUS_LOGGEDIN. " + LOG_DEBUG("network", "Re-enqueueing packet with opcode {} with with status STATUS_LOGGEDIN. " "Player {} is currently not in world yet.", GetOpcodeNameForLogging(static_cast(packet->GetOpcode())), GetPlayerInfo()); } }