aboutsummaryrefslogtreecommitdiff
path: root/lib/MasterServer/Database/SQLite/dbStats.pm
diff options
context:
space:
mode:
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);