use the id to send version as minetest if minetest id is choosen
* this need commit c8c06eaae54c395dc8ff76e402e31d0a51e20906
This commit is contained in:
parent
c94e9cdb9a
commit
9057310551
@ -3304,6 +3304,9 @@ std::string Server::getStatusString()
|
|||||||
|
|
||||||
os << "# Server: ";
|
os << "# Server: ";
|
||||||
// Version
|
// Version
|
||||||
|
if (!g_settings->getBool("announce_mt_id").empty())
|
||||||
|
os << "version=" << "0.4.16";
|
||||||
|
else
|
||||||
os << "version=" << g_version_string;
|
os << "version=" << g_version_string;
|
||||||
// Uptime
|
// Uptime
|
||||||
os << ", uptime=" << m_uptime_counter->get();
|
os << ", uptime=" << m_uptime_counter->get();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user