Only show servers with at least master.min_clients clients
authorShadowNinja <shadowninja@minetest.net>
Sun, 3 Nov 2013 23:02:07 +0000 (18:02 -0500)
committerShadowNinja <shadowninja@minetest.net>
Sun, 3 Nov 2013 23:02:07 +0000 (18:02 -0500)
util/master/servers.jst

index bbefe3062d45d6ebbdcb4053be5c20ac73033306..ffeb45d314ea0e21c3b9f8cebdd0c482f70ed525 100644 (file)
@@ -17,6 +17,7 @@
        </tr>
        {{~it.list :server:index}}
        {{ if (master.limit && index + 1 > master.limit) break;}}
+       {{ if (master.min_clients && server.clients < master.min_clients) continue;}}
        <tr>
                {{? !master.no_address}}
                <td class ="address">