aboutsummaryrefslogtreecommitdiff
path: root/lib/MasterServer/Database/SQLite/dbStats.pm
diff options
context:
space:
mode:
authorDarkelarious <darkelarious@333networks.com>2017-09-25 22:41:59 +0200
committerDarkelarious <darkelarious@333networks.com>2017-09-25 22:41:59 +0200
commit18fc4c931e75d8de804c601b46dc8c8b339db3d9 (patch)
tree58a78c8c7841f649fa2e98ddd94456a55951dfa7 /lib/MasterServer/Database/SQLite/dbStats.pm
parentc06322da38b4cb76b2036af1a5448083adb8ff20 (diff)
downloadMasterServer-Perl-18fc4c931e75d8de804c601b46dc8c8b339db3d9.tar.gz
MasterServer-Perl-18fc4c931e75d8de804c601b46dc8c8b339db3d9.zip
game statistics for all servers, numerous small fixes
Diffstat (limited to 'lib/MasterServer/Database/SQLite/dbStats.pm')
-rwxr-xr-xlib/MasterServer/Database/SQLite/dbStats.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MasterServer/Database/SQLite/dbStats.pm b/lib/MasterServer/Database/SQLite/dbStats.pm
index 57d3100..0d0b8eb 100755
--- a/lib/MasterServer/Database/SQLite/dbStats.pm
+++ b/lib/MasterServer/Database/SQLite/dbStats.pm
@@ -69,7 +69,7 @@ sub write_direct_beacons {
my $self = shift;
my $u = $self->{dbh}->do(
"UPDATE serverlist
- SET b333ms = CAST(0 AS BOOLEAN)
+ SET b333ms = 0
WHERE beacon < datetime(?, \'unixepoch\') AND b333ms",
undef, time-3600);
$self->log("unset", "Lost $u direct beacons.") if ($u > 0);