]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
include number of active player slots in the report
authorRudolf Polzer <divverent@alientrap.org>
Fri, 24 Feb 2012 14:47:19 +0000 (15:47 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 24 Feb 2012 14:47:19 +0000 (15:47 +0100)
server/rcon2irc/rcon2irc.pl

index 312e36404771eb422cc0576be5fc1566f2305c24..49d424c3acb3058d41eac645de95fe2b956141c4 100755 (executable)
@@ -1733,7 +1733,7 @@ sub cond($)
                {
                        open my $fh, '>>', $config{dp_timinglog}
                                or warn "open >> $config{dp_timinglog}: $!";
-                       print $fh "@{[time]} $cpu $lost $avg $max $sdev\n"
+                       print $fh "@{[time]} $cpu $lost $avg $max $sdev $store{slots_active}\n"
                                or warn "print >> $config{dp_timinglog}: $!";
                        close $fh
                                or warn "close >> $config{dp_timinglog}: $!";