From 98ebf5c8fb981aaacebab7256bd81f81082072f1 Mon Sep 17 00:00:00 2001 From: Michael Andreen Date: Tue, 11 Nov 2008 21:44:23 +0100 Subject: [PATCH] ignore landing scans --- scripts/scans.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/scans.pl b/scripts/scans.pl index 182fe08..7f80125 100755 --- a/scripts/scans.pl +++ b/scripts/scans.pl @@ -203,8 +203,9 @@ while (my $scan = $newscans->fetchrow_hashref){ my $id = addfleet($1,$2,$3,$planet,undef,$tick,undef,undef,$4); $fleetscan->execute($id,$scan->{id}) or die $dbh->errstr; } + } elsif($type eq 'Landing'){ } else { - print "Something wrong with scan $scan->{id} type $type at tick $tick http://game.planetarion.com/showscan.pl?scan_id=$scan->{scan_id}"; + print "Something wrong with scan $scan->{id} type $type at tick $tick http://game.planetarion.com/showscan.pl?scan_id=$scan->{scan_id}\n"; } $parsedscan->execute($tick,$type,$planet,$scan->{id}) or die $dbh->errstr; #$dbh->rollback; -- 2.39.2