add more routing code together with associated commands
[spider.git] / cmd / show / qrz.pl
index 9dd99818d4d4bc231b7caf62c5559911e0df832b..6779db42cbe32375d04f255402bf13fba7ced39d 100644 (file)
@@ -29,7 +29,7 @@ foreach $l (@list) {
                Log('call', "$call: show/qrz \U$l");
                my $state = "blank";
                while (my $result = $t->getline) {
-#                      print $result;
+                       dbg('qrz', $result);
                        if ($state eq 'blank' && $result =~ /^\s*Callsign\s*:/i) {
                                $state = 'go';
                        } elsif ($state eq 'go') {
@@ -39,6 +39,7 @@ foreach $l (@list) {
                        }
                }
                $t->close;
+               push @out, $self->msg('e3', 'qrz.com', uc $l) unless @out;
        } else {
                push @out, $self->msg('e18', 'QRZ.com');
        }