projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50ea860
)
Only show servers with at least master.min_clients clients
author
ShadowNinja
<shadowninja@minetest.net>
Sun, 3 Nov 2013 23:02:07 +0000
(18:02 -0500)
committer
ShadowNinja
<shadowninja@minetest.net>
Sun, 3 Nov 2013 23:02:07 +0000
(18:02 -0500)
util/master/servers.jst
patch
|
blob
|
history
diff --git
a/util/master/servers.jst
b/util/master/servers.jst
index bbefe3062d45d6ebbdcb4053be5c20ac73033306..ffeb45d314ea0e21c3b9f8cebdd0c482f70ed525 100644
(file)
--- 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">