fix show/dxcc
authorDirk Koopman <djk@tobit.co.uk>
Sun, 5 Jul 2020 00:52:19 +0000 (01:52 +0100)
committerDirk Koopman <djk@tobit.co.uk>
Sun, 5 Jul 2020 00:52:19 +0000 (01:52 +0100)
Changes
cmd/show/dx.pl
perl/Spot.pm

diff --git a/Changes b/Changes
index e1ad3258ee80efce752b1bb025f51e4e51dcf6cb..8c663a2a9c428f0d79ec773060c849e948c39e52 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,3 +1,5 @@
+05Jul20=======================================================================
+1. Fix show/dxcc.
 04Jul20=======================================================================
 1. Give console.pl (or dx) a good going over with a bog brush to *finally*
    (cough) make it work correctly with a full 80 column window (and not just
index baca1f68fe2cfcb5a924a07eac739d09eebaddb3..5ebc103315b631327728378a4e217965b219ef21 100644 (file)
@@ -120,7 +120,7 @@ sub handle
                        dbg("sh/dx operator $f") if isdbg('sh/dx');
                        next;
                }
-               if (grep {lc $f eq $_} qw(on freq call info spotter by call_dxcc by_dxcc bydxcc origin call_itu itu call_zone zone  byitu by_itu by_zone byzone call_state state bystate by_state ip) ) {
+               if (grep {lc $f eq $_} qw(on freq call info spotter by dxcc call_dxcc by_dxcc bydxcc origin call_itu itu call_zone zone  byitu by_itu by_zone byzone call_state state bystate by_state ip) ) {
                        push @flist, $f;
                        push @flist, shift @list if @list;
                        dbg("sh/dx function $flist[-2] $flist[-1]") if isdbg('sh/dx');
index be175ff04ca26e153a773630a58385e92e19e055..3bfee12a3ccb06355bd64d4700ce3f3f91b4547b 100644 (file)
@@ -41,6 +41,7 @@ $filterdef = bless ([
                                         ['info', 't', 3],
                                         ['spotter', 'c', 4],
                                         ['by', 'c', 4],
+                                        ['dxcc', 'nc', 5],
                                         ['call_dxcc', 'nc', 5],
                                         ['by_dxcc', 'nc', 6],
                                         ['origin', 'c', 7, 9],