From 735f886d154e33d80bcca59512e3fdb75ad64e97 Mon Sep 17 00:00:00 2001 From: MangosArentLiterature <58055358+MangosArentLiterature@users.noreply.github.com> Date: Tue, 6 Apr 2021 15:22:36 -0500 Subject: [PATCH] Fix filtering out IPIDs for CM users --- src/commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands.cpp b/src/commands.cpp index 513118d..0702070 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -1293,7 +1293,7 @@ void AOClient::cmdJudgeLog(int argc, QStringList argv) sendServerMessage(message); } else { - QString filteredmessage = message.remove(QRegularExpression("[(]*[)]")); //Filter out anything between two parentheses. This should only ever be the IPID + QString filteredmessage = message.remove(QRegularExpression("[(].*[)]")); //Filter out anything between two parentheses. This should only ever be the IPID sendServerMessage(filteredmessage); } }