]> ruin.nu Git - ndwebbie.git/commitdiff
ignore landing scans
authorMichael Andreen <harv@ruin.nu>
Tue, 11 Nov 2008 20:44:23 +0000 (21:44 +0100)
committerMichael Andreen <harv@ruin.nu>
Tue, 11 Nov 2008 20:44:23 +0000 (21:44 +0100)
scripts/scans.pl

index 182fe088b47a0c07386269932b06a69c890f4500..7f80125552b0c40481de3077b69f7044252cd937 100755 (executable)
@@ -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;