['call_state', 'ns', 12],
['by_state', 'ns', 13],
['channel', 'c', 14],
+ ['ip', 'c', 15],
], 'Filter::Cmd');
$totalspots = $hfspots = $vhfspots = 0;
# $f5 = spotted dxcc country
# $f6 = spotter dxcc country
# $f7 = origin
-#
+# $f8 = ip address
#
# In addition you can specify a range of days, this means that it will start searching
# from <n> days less than today to <m> days less than today
}
}
);
+
dbg("Spot eval: $eval") if isdbg('searcheval');
if ($cty && $text && length $text <= 4) {
unless ($text =~ /^C?Q/ || $text =~ /^[\d\W]+$/) {
my @try = Prefix::cty_data($text);
- $text = "" if $cty == $try[0];
+ $text = "" if @try && $cty == $try[0];
}
}
my $otext = $text;