X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FSpot.pm;h=ae773e12f53cd5dfc34c1574603e28ba452e52c5;hb=db3280504f804e18d5c57b9e14b12d7abe38e3a3;hp=be8be669c8d9e8899210163112c805551cb10d7b;hpb=8720504a4ba0e0df8fc3932f3eb55a63decc8e9a;p=spider.git diff --git a/perl/Spot.pm b/perl/Spot.pm index be8be669..ae773e12 100644 --- a/perl/Spot.pm +++ b/perl/Spot.pm @@ -43,14 +43,14 @@ $filterdef = bless ([ ['call', 'c', 1], ['info', 't', 3], ['by', 'c', 4], - ['call_dxcc', 'n', 5], - ['by_dxcc', 'n', 6], + ['call_dxcc', 'nc', 5], + ['by_dxcc', 'nc', 6], ['origin', 'c', 7, 9], - ['call_itu', 'n', 8], - ['call_zone', 'n', 9], - ['by_itu', 'n', 10], - ['by_zone', 'n', 11], - ['channel', 'n', 12, 9], + ['call_itu', 'ni', 8], + ['call_zone', 'nz', 9], + ['by_itu', 'ni', 10], + ['by_zone', 'nz', 11], + ['channel', 'c', 12], ], 'Filter::Cmd'); @@ -123,12 +123,12 @@ sub prepare # add the 'dxcc' country on the end for both spotted and spotter, then the cluster call my @dxcc = Prefix::extract($out[1]); - my $spotted_dxcc = (@dxcc > 0 ) ? $dxcc[1]->dxcc() : 0; + my $spotted_dxcc = (@dxcc > 0 ) ? $dxcc[1]->dxcc() : 666; my $spotted_itu = (@dxcc > 0 ) ? $dxcc[1]->itu() : 0; my $spotted_cq = (@dxcc > 0 ) ? $dxcc[1]->cq() : 0; push @out, $spotted_dxcc; @dxcc = Prefix::extract($out[4]); - my $spotter_dxcc = (@dxcc > 0 ) ? $dxcc[1]->dxcc() : 0; + my $spotter_dxcc = (@dxcc > 0 ) ? $dxcc[1]->dxcc() : 666; my $spotter_itu = (@dxcc > 0 ) ? $dxcc[1]->itu() : 0; my $spotter_cq = (@dxcc > 0 ) ? $dxcc[1]->cq() : 0; push @out, $spotter_dxcc;