Rename names -> can_see_far_names in announce
authorproller <proler@github.com>
Tue, 3 Dec 2013 16:13:33 +0000 (20:13 +0400)
committerproller <proler@github.com>
Tue, 3 Dec 2013 16:14:06 +0000 (20:14 +0400)
src/serverlist.cpp
util/master/servers.jst

index 97a7b0bf7d965db02e5c4edd64ec01c52f2616a9..7376bce9990c4ad7c54b89321ce63e011c512a46 100644 (file)
@@ -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);
index 26cbd04347cd7b3493a868508a13ac6d7e952992..48116133afd1806d77da5b066a2ce38057c4310e 100644 (file)
@@ -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">