diff options
| author | Darkelarious <darkelarious@333networks.com> | 2017-09-25 22:41:59 +0200 |
|---|---|---|
| committer | Darkelarious <darkelarious@333networks.com> | 2017-09-25 22:41:59 +0200 |
| commit | 18fc4c931e75d8de804c601b46dc8c8b339db3d9 (patch) | |
| tree | 58a78c8c7841f649fa2e98ddd94456a55951dfa7 /lib/MasterServer/Database/SQLite/dbStats.pm | |
| parent | c06322da38b4cb76b2036af1a5448083adb8ff20 (diff) | |
| download | MasterServer-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-x | lib/MasterServer/Database/SQLite/dbStats.pm | 2 |
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); |
