From: Dirk Koopman Date: Thu, 18 Aug 2016 23:25:24 +0000 (+0100) Subject: add dxcc as ADIF country code sh/qrz X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=f002e5a1e69f1909a50adfe2a8abcbf89af5d74e;p=spider.git add dxcc as ADIF country code sh/qrz --- diff --git a/Changes b/Changes index 658bc05e..d27204db 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ 18Aug16======================================================================= 1. Add CTY-2610 2. put back msg total in & total out for mrtg and background mrtg +3. add dxcc == ADIF country code. 16Aug16======================================================================= 1. Mega change to push all local data in $root/local_data and where there is duplication with system data (still in $root/data) then use whichever diff --git a/cmd/show/qrz.pl b/cmd/show/qrz.pl index 9a7d921f..5863767e 100644 --- a/cmd/show/qrz.pl +++ b/cmd/show/qrz.pl @@ -9,9 +9,10 @@ # Copyright (c) 2001-2013 Dirk Koopman G1TLH # -use vars qw (%allowed); +use vars qw (%allowed %convert); -%allowed = qw(call 1 fname 1 name 1 addr2 1 state 1 country 1 lat 1 lon 1 county 1 moddate 1 qslmgr 1 grid 1 Error 1 ); +%allowed = qw(call 1 fname 1 name 1 addr2 1 state 1 country 1 lat 1 lon 1 county 1 moddate 1 qslmgr 1 grid 1 Error 1 dxcc 1 ); +%convert = qw(dxcc ADIF); sub _send { @@ -21,6 +22,7 @@ sub _send my ($tag, $data) = $msg =~ m|^\s*<(\w+)>(.*){prefix} || ' '; $dxchan->send($prefix . sprintf("%-10s: $data", $tag)); }