From fceb2447df5d593f253fa7f41f3b3faa3a7e86a8 Mon Sep 17 00:00:00 2001 From: in1tiate <32779090+in1tiate@users.noreply.github.com> Date: Mon, 25 Mar 2024 04:38:05 -0500 Subject: [PATCH] Remove some dead code that was causing esoteric issues (#349) --- core/src/network/network_socket.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/src/network/network_socket.cpp b/core/src/network/network_socket.cpp index b20cce1..b846c5d 100644 --- a/core/src/network/network_socket.cpp +++ b/core/src/network/network_socket.cpp @@ -102,10 +102,6 @@ void NetworkSocket::readData() QStringList l_all_packets = l_data.split("%"); l_all_packets.removeLast(); // Remove the entry after the last delimiter - if (l_all_packets.value(0).startsWith("MC", Qt::CaseInsensitive)) { - l_all_packets = QStringList{l_all_packets.value(0)}; - } - for (const QString &l_single_packet : qAsConst(l_all_packets)) { AOPacket *l_packet = PacketFactory::createPacket(l_single_packet); if (!l_packet) {