aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorproller <proler@github.com>2013-12-03 20:13:33 +0400
committerproller <proler@github.com>2013-12-03 20:14:06 +0400
commit1309e52198e04a50d322914fb4d5667e6760b3af (patch)
tree613989b19b5759a0050009ca491a32968dae78ca
parent5004f31575c52b59e1fc654dfa08336a692afeee (diff)
downloadminetest-1309e52198e04a50d322914fb4d5667e6760b3af.tar.gz
minetest-1309e52198e04a50d322914fb4d5667e6760b3af.tar.bz2
minetest-1309e52198e04a50d322914fb4d5667e6760b3af.zip
Rename names -> can_see_far_names in announce
-rw-r--r--src/serverlist.cpp2
-rw-r--r--util/master/servers.jst1
2 files changed, 2 insertions, 1 deletions
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<std::string> & 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<ModSpec>::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 ' : ''}}
</td>{{?}}
{{? !master.no_uptime}}
<td class="uptime">