From 90573105519953847be513068c1f05f1a1771d7c Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Sun, 2 Jun 2024 21:24:40 -0400 Subject: [PATCH] use the id to send version as minetest if minetest id is choosen * this need commit c8c06eaae54c395dc8ff76e402e31d0a51e20906 --- src/server.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/server.cpp b/src/server.cpp index 0bbbfa525..d6f55378c 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -3304,6 +3304,9 @@ std::string Server::getStatusString() os << "# Server: "; // Version + if (!g_settings->getBool("announce_mt_id").empty()) + os << "version=" << "0.4.16"; + else os << "version=" << g_version_string; // Uptime os << ", uptime=" << m_uptime_counter->get();