fix wrong access definition q_settings
* fix error: request for member 'empty' cos is not string
This commit is contained in:
parent
c047d31989
commit
3820aa20eb
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user