From 5e79cf3f9f314e0f46c68f9941d407cd25186996 Mon Sep 17 00:00:00 2001 From: scatterflower Date: Sat, 3 Apr 2021 03:29:52 -0500 Subject: [PATCH 1/2] 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; From 737f2f102e3d56b152ee3f8dfa041dd7ad7db65d Mon Sep 17 00:00:00 2001 From: scatterflower Date: Sat, 3 Apr 2021 03:49:36 -0500 Subject: [PATCH 2/2] update ver string --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 8560141..d754691 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -36,7 +36,7 @@ int main(int argc, char* argv[]) { QCoreApplication app(argc, argv); QCoreApplication::setApplicationName("akashi"); - QCoreApplication::setApplicationVersion("apricot r2 prerelease"); + QCoreApplication::setApplicationVersion("apricot r2"); std::atexit(cleanup); ConfigManager config_manager;