From 5e79cf3f9f314e0f46c68f9941d407cd25186996 Mon Sep 17 00:00:00 2001 From: scatterflower Date: Sat, 3 Apr 2021 03:29:52 -0500 Subject: [PATCH] allow blank showname --- src/packets.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/packets.cpp b/src/packets.cpp index 7d24fe4..ac6dce0 100644 --- a/src/packets.cpp +++ b/src/packets.cpp @@ -512,6 +512,8 @@ AOPacket AOClient::validateIcPacket(AOPacket packet) if (incoming_args.length() > 15) { // showname QString incoming_showname = dezalgo(incoming_args[15].toString().trimmed()); + if (incoming_showname.length() == 0) + incoming_showname = " "; args.append(incoming_showname); showname = incoming_showname;