X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FSpot.pm;h=8674e111a111e74b6f10459e787edde67138dba6;hb=acf0c1062bed07f329d8874225868fc9f83c4a1f;hp=9f5c8645511711919943fc6564b239f59918bbda;hpb=4e2ad8b6e6a0209ffd739a625c2a6bba0ae873cb;p=spider.git diff --git a/perl/Spot.pm b/perl/Spot.pm index 9f5c8645..8674e111 100644 --- a/perl/Spot.pm +++ b/perl/Spot.pm @@ -369,6 +369,7 @@ sub genstats($) my ($freq, $by, $dxcc) = (split /\^/)[0,4,6]; my $ref = $list{$by} || [0, $dxcc]; for (@freq) { + next unless defined $_; if ($freq >= $_->[1] && $freq <= $_->[2]) { $$ref[$_->[0]+2]++; $tot[$_->[0]+2]++;