From: proller Date: Tue, 3 Dec 2013 16:13:33 +0000 (+0400) Subject: Rename names -> can_see_far_names in announce X-Git-Tag: 0.4.9~60 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1309e52198e04a50d322914fb4d5667e6760b3af;p=oweals%2Fminetest.git Rename names -> can_see_far_names in announce --- diff --git a/src/serverlist.cpp b/src/serverlist.cpp index 97a7b0bf7..7376bce99 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 26cbd0434..48116133a 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}}