aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2013-11-03 18:02:07 -0500
committerShadowNinja <shadowninja@minetest.net>2013-11-03 18:02:07 -0500
commit4c2687775fc8b7045d06456a211161b46014c8d8 (patch)
tree6fc8a3363c458e437c302a61247c73587b970dcf /util
parent50ea8601d588cbc5b2ab125c20510817c07f7b0a (diff)
downloadminetest-4c2687775fc8b7045d06456a211161b46014c8d8.tar.gz
minetest-4c2687775fc8b7045d06456a211161b46014c8d8.tar.bz2
minetest-4c2687775fc8b7045d06456a211161b46014c8d8.zip
Only show servers with at least master.min_clients clients
Diffstat (limited to 'util')
-rw-r--r--util/master/servers.jst1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/master/servers.jst b/util/master/servers.jst
index bbefe3062..ffeb45d31 100644
--- a/util/master/servers.jst
+++ b/util/master/servers.jst
@@ -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">