summaryrefslogtreecommitdiff
path: root/src/serverlist.cpp
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 /src/serverlist.cpp
parent5004f31575c52b59e1fc654dfa08336a692afeee (diff)
downloadminetest-1309e52198e04a50d322914fb4d5667e6760b3af.tar.gz
minetest-1309e52198e04a50d322914fb4d5667e6760b3af.tar.bz2
minetest-1309e52198e04a50d322914fb4d5667e6760b3af.zip
Rename names -> can_see_far_names in announce
Diffstat (limited to 'src/serverlist.cpp')
-rw-r--r--src/serverlist.cpp2
1 files changed, 1 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);