+ return (1, $self->msg('dx3'));
+}
+$line =~ s/^\s*$f[0]\s+$f[1]\s+//;
+$line =~ s/\t+/ /g; # do this here because it needs to be stopped ASAP!
+$line ||= ' ';
+
+my $addr = $self->hostname;
+if ($self->conn && $self->conn->peerhost) {
+# $ipaddr = $addr unless !is_ipaddr($addr) || $addr =~ /^127\./ || $addr =~ /^::[0-9a-f]+$/;
+ $ipaddr ||= $addr; # force a PC61
+} elsif ($self->inscript) {
+ $ipaddr = "script";
+}
+
+# check some other things
+# remove ssid from calls
+my $spotternoid = basecall($spotter);
+my $callnoid = basecall($self->{call});
+
+#$DB::single = 1;
+
+if ($DXProt::baddx->in($spotted)) {
+ $localonly++;
+}
+if ($DXProt::badspotter->in($spotternoid)) {
+ LogDbg('DXCommand', "badspotter $spotternoid as $spotter ($oline) from $addr");
+ $localonly++;