diff options
author | proller <proller@github.com> | 2013-07-13 00:37:28 +0400 |
---|---|---|
committer | proller <proller@github.com> | 2013-07-13 01:41:49 +0400 |
commit | 0a2de78da418c7cdeb1cf9b898d049100804fb29 (patch) | |
tree | e7b423c1528775ab4bdf9aca5fb84e451526d16d /util/master/master.cgi | |
parent | 288948edf71b2f4f70f486df9c4b9a587ce68248 (diff) | |
download | minetest-0a2de78da418c7cdeb1cf9b898d049100804fb29.tar.gz minetest-0a2de78da418c7cdeb1cf9b898d049100804fb29.tar.bz2 minetest-0a2de78da418c7cdeb1cf9b898d049100804fb29.zip |
Better masterserver html
Diffstat (limited to 'util/master/master.cgi')
-rwxr-xr-x | util/master/master.cgi | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/util/master/master.cgi b/util/master/master.cgi index e283fe3a2..975fa94e2 100755 --- a/util/master/master.cgi +++ b/util/master/master.cgi @@ -152,7 +152,6 @@ sub float { return ($_[0] < 8 and $_[0] - int($_[0])) ? sprintf('%.' . ($_[0] < 1 ? 3 : ($_[0] < 3 ? 2 : 1)) . 'f', $_[0]) : int($_[0]); - } sub mineping ($$) { @@ -236,7 +235,7 @@ sub request (;$) { $param->{first} ||= $old->{first} || $old->{time} || $param->{time}; $param->{clients_top} = $old->{clients_top} if $old->{clients_top} > $param->{clients}; $param->{clients_top} ||= $param->{clients} || 0; - $param->{mods} ||= $old->{mods}; + $param->{mods} ||= $old->{mods} unless $param->{action} ~~ 'start'; delete $param->{action}; $listk->{$param->{key}} = $param; #printlog Dumper $param; |