X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fqrz.pl;fp=cmd%2Fshow%2Fqrz.pl;h=45363143c6824c0b672dffaac6bd3cc43b041005;hb=08ef12723f860ed402ddb5f80ff163b1851e17ad;hp=51a63c41afd3521fbb1e7291dde0a2066589ff01;hpb=575a26ea68a641f895f68ed28391962d92bf1912;p=spider.git diff --git a/cmd/show/qrz.pl b/cmd/show/qrz.pl index 51a63c41..45363143 100644 --- a/cmd/show/qrz.pl +++ b/cmd/show/qrz.pl @@ -1,5 +1,5 @@ # -# Query the PineKnot Database server for a callsign +# Query the QRZ Database server for a callsign # # from an idea by Steve Franke K9AN and information from Angel EA7WA # @@ -8,6 +8,7 @@ my ($self, $line) = @_; my @list = split /\s+/, $line; # generate a list of callsigns my $l; +my $call = $self->call; my @out; return (1, "SHOW/QRZ , e.g. SH/QRZ g1tlh") unless @list; @@ -23,7 +24,7 @@ foreach $l (@list) { Timeout => 5); if ($t) { $t->print("GET /database?callsign=$l HTTP/1.0\n\n"); - Log('call', "show/qrz $l"); + Log('call', "$call: show/qrz $l"); my $state = "call"; while (my $result = $t->getline) { # print "$state: $result";