From: proller Date: Tue, 3 Dec 2013 16:13:33 +0000 (+0400) Subject: Rename names -> can_see_far_names in announce X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=1309e52198e04a50d322914fb4d5667e6760b3af;p=zefram%2Fminetest%2Fminetest_engine.git Rename names -> can_see_far_names in announce --- diff --git a/src/serverlist.cpp b/src/serverlist.cpp index 97a7b0bf..7376bce9 100644 --- a/src/serverlist.cpp +++ b/src/serverlist.cpp @@ -226,7 +226,7 @@ void sendAnnounce(std::string action, const std::vector & clients_n server["rollback"] = g_settings->getBool("enable_rollback_recording"); server["liquid_finite"] = g_settings->getBool("liquid_finite"); server["mapgen"] = g_settings->get("mg_name"); - server["names"] = g_settings->getBool("unlimited_player_transfer_distance"); + server["can_see_far_names"] = g_settings->getBool("unlimited_player_transfer_distance"); server["mods"] = Json::Value(Json::arrayValue); for(std::vector::iterator m = mods.begin(); m != mods.end(); m++) { server["mods"].append(m->name); diff --git a/util/master/servers.jst b/util/master/servers.jst index 26cbd043..48116133 100644 --- a/util/master/servers.jst +++ b/util/master/servers.jst @@ -56,6 +56,7 @@ {{=server.pvp ? 'PvP ' : ''}} {{=server.password ? 'Pwd ' : ''}} {{=server.rollback ? 'Rol ' : ''}} + {{=server.can_see_far_names ? 'Far ' : ''}} {{?}} {{? !master.no_uptime}}