1
0

fix wrong access definition q_settings

* fix error: request for member 'empty' cos is not string
This commit is contained in:
mckaygerhard 2024-06-02 22:51:26 -04:00
parent c047d31989
commit 3820aa20eb

View File

@ -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;