diff --git a/src/serverlist.cpp b/src/serverlist.cpp index 718a94402..719620f25 100644 --- a/src/serverlist.cpp +++ b/src/serverlist.cpp @@ -100,10 +100,10 @@ void sendAnnounce(AnnounceAction action, server["mapgen"] = mg_name; server["privs"] = g_settings->get("default_privs"); server["can_see_far_names"] = g_settings->getS16("player_transfer_distance") <= 0; - /*server["mods"] = Json::Value(Json::arrayValue); + server["mods"] = Json::Value(Json::arrayValue); for (const ModSpec &mod : mods) { server["mods"].append(mod.name); - }*/ + } } else if (action == AA_UPDATE) { if (lag) server["lag"] = lag;