From 3820aa20eb21b2cd1119ac7ecb2dd4190c27e560 Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Sun, 2 Jun 2024 22:51:26 -0400 Subject: [PATCH] fix wrong access definition q_settings * fix error: request for member 'empty' cos is not string --- src/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.cpp b/src/server.cpp index d6f55378c..bab6af0aa 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -3304,7 +3304,7 @@ std::string Server::getStatusString() os << "# Server: "; // Version - if (!g_settings->getBool("announce_mt_id").empty()) + if (!g_settings->getBool("announce_mt_id")) os << "version=" << "0.4.16"; else os << "version=" << g_version_string;