From 6063c9b443093f69b66719b0b934245e1b345c17 Mon Sep 17 00:00:00 2001 From: Salanto <62221668+Salanto@users.noreply.github.com> Date: Sat, 23 Jul 2022 13:45:20 +0200 Subject: [PATCH] Comitting my own suggestion --- core/src/packet/packet_ms.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/packet/packet_ms.cpp b/core/src/packet/packet_ms.cpp index f174226..61f9814 100644 --- a/core/src/packet/packet_ms.cpp +++ b/core/src/packet/packet_ms.cpp @@ -159,7 +159,7 @@ AOPacket *PacketMS::validateIcPacket(AOClient &client) const l_args.append(l_incoming_args[5].toString()); if (client.m_pos != l_incoming_args[5].toString()) { client.m_pos = l_incoming_args[5].toString(); - client.m_pos.replace("../", ""); + client.m_pos.replace("../", "").replace("..\\",""); client.updateEvidenceList(client.getServer()->getAreaById(client.m_current_area)); }