diff options
author | proller <proller@github.com> | 2013-07-13 04:10:16 +0400 |
---|---|---|
committer | proller <proller@github.com> | 2013-07-13 04:11:26 +0400 |
commit | a70993d6d20b4668556a8792ecd952d84a7e6939 (patch) | |
tree | 25faa421835164856aabcc43ab74df2dd96e5c75 /util/master/master.cgi | |
parent | 0a2de78da418c7cdeb1cf9b898d049100804fb29 (diff) | |
download | minetest-a70993d6d20b4668556a8792ecd952d84a7e6939.tar.gz minetest-a70993d6d20b4668556a8792ecd952d84a7e6939.tar.bz2 minetest-a70993d6d20b4668556a8792ecd952d84a7e6939.zip |
Masterserver mods fix
Diffstat (limited to 'util/master/master.cgi')
-rwxr-xr-x | util/master/master.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/master/master.cgi b/util/master/master.cgi index 975fa94e2..cb4d164c4 100755 --- a/util/master/master.cgi +++ b/util/master/master.cgi @@ -235,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} unless $param->{action} ~~ 'start'; + $param->{mods} ||= $old->{mods} if $old->{mods} and !($param->{action} ~~ 'start'); delete $param->{action}; $listk->{$param->{key}} = $param; #printlog Dumper $param; |