From 18fc4c931e75d8de804c601b46dc8c8b339db3d9 Mon Sep 17 00:00:00 2001 From: Darkelarious Date: Mon, 25 Sep 2017 22:41:59 +0200 Subject: game statistics for all servers, numerous small fixes --- lib/MasterServer/Database/SQLite/dbStats.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/MasterServer/Database/SQLite/dbStats.pm') 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); -- cgit v1.2.3