Skip to content
Permalink
Browse files
Improve behaviour of protocol filtering
  • Loading branch information
sfan5 committed Mar 8, 2020
1 parent ddcd98a commit e99ecd6582202b414840decb6508f271f986563d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
@@ -23,7 +23,7 @@ Then install doT.js and its dependencies:
And finally compile the template:

$ cd static
$ ~/node_modules/dot/bin/dot-packer -s . -d .
$ ~/node_modules/dot/bin/dot-packer -s .

You can now serve the webpage by copying the files in static/ to your web root, or by [starting the master server](#setting-up-the-server).

@@ -24,11 +24,11 @@
{{? !master.no_ping}}<th>Ping, Lag</th>{{?}}
</tr></thead>
<tbody>
{{ var tmp = master.proto_range ? JSON.parse(master.proto_range) : null;}}
{{~it.list :server:index}}
{{ if (master.limit && index + 1 > master.limit) break;}}
{{ if (master.min_clients && server.clients < master.min_clients) continue;}}
{{ var tmp = master.proto_range ? JSON.parse(master.proto_range) : null;}}
{{ if (tmp && (server.proto_min < tmp[0] || server.proto_max > tmp[1])) continue;}}
{{ if (tmp && (tmp[0] > server.proto_max || tmp[1] < server.proto_min)) continue;}}
<tr>
{{? !master.no_address}}
<td class="address">

0 comments on commit e99ecd6

Please sign in to comment.