X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fqrz.pl;h=ca1935a4c53dbe131e5bb5e4aade2a80d7b234cb;hb=65a4b5776154155cb012fe7968558d0449d74ef3;hp=7122992f6d91c79c3f7d5f8df3cae1c2928a1158;hpb=a162f8f36fe83f8e45b284a5aa5e71022dcd8be2;p=spider.git diff --git a/cmd/show/qrz.pl b/cmd/show/qrz.pl index 7122992f..ca1935a4 100644 --- a/cmd/show/qrz.pl +++ b/cmd/show/qrz.pl @@ -15,10 +15,15 @@ my @out; return (1, $self->msg('e24')) unless $Internet::allow; return (1, "SHOW/QRZ , e.g. SH/QRZ g1tlh") unless @list; -my $target = $Internet::http_proxy || 'www.qrz.com'; +#my $target = $Internet::http_proxy || 'www.qrz.com'; +#my $port = $Internet::http_proxy_port || 80; +#my $url = ''; +#$url = 'http://www.qrz.com' if $Internet::http_proxy; +my $target = $Internet::http_proxy || $Internet::qrz_url || 'www.qrz.com'; my $port = $Internet::http_proxy_port || 80; my $url = ''; -$url = 'http://www.qrz.com' if $Internet::http_proxy; +$url = 'http://' . ($Internet::qrz_url || '$www.qrz.com') if $Internet::http_proxy; + use Net::Telnet;