From: Michael Andreen Date: Tue, 11 Nov 2008 20:44:23 +0000 (+0100) Subject: ignore landing scans X-Git-Url: https://ruin.nu/git/?p=ndwebbie.git;a=commitdiff_plain;h=98ebf5c8fb981aaacebab7256bd81f81082072f1 ignore landing scans --- 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;