From 27f125758f88945373285000e12af64d67307cec Mon Sep 17 00:00:00 2001 From: gor_down Date: Sun, 18 May 2025 18:44:12 -0300 Subject: [PATCH] niggerfaggotry --- src/packet/packet_ms.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/packet/packet_ms.cpp b/src/packet/packet_ms.cpp index f69e2bb..4026565 100644 --- a/src/packet/packet_ms.cpp +++ b/src/packet/packet_ms.cpp @@ -83,8 +83,10 @@ AOPacket *PacketMS::validateIcPacket(AOClient &client) const << "4" << "5"; QString l_incoming_deskmod = l_incoming_args[0].toString(); - bool wit_joined_while_area_idle = !client.m_spoke && l_incoming_args[5].toString().replace("../", "").replace("..\\", "") == "wit" && area->status() != AreaData::Status::CASING; - client.hide_desk = wit_joined_while_area_idle; + if(!client.m_spoke){ + client.hide_desk = l_incoming_args[5].toString().replace("../", "").replace("..\\", "") == "wit" && area->status() != AreaData::Status::CASING; + } + client.m_spoke = true; if(client.hide_desk) l_incoming_deskmod = "0"; if (allowed_desk_mods.contains(l_incoming_deskmod)) { // **WARNING : THIS IS A HACK!** @@ -131,7 +133,6 @@ AOPacket *PacketMS::validateIcPacket(AOClient &client) const QString l_incoming_msg = client.dezalgo(l_incoming_args[4].toString().trimmed()); QRegularExpressionMatch match = isTestimonyJumpCommand(client.decodeMessage(l_incoming_msg)); bool msg_is_testimony_cmd = (match.hasMatch() || l_incoming_msg == ">" || l_incoming_msg == "<"); - client.m_spoke = true; if (!client.m_last_message.isEmpty() // If the last message you sent isn't empty, && l_incoming_msg == client.m_last_message // and it matches the one you're sending, && !msg_is_testimony_cmd) // and it's not a testimony command,