my \@a = (Prefix::cty_data(\$s[1]))[1..3];
my \@b = (Prefix::cty_data(\$s[4]))[1..3];
push \@s, \@a[0,1], \@b[0,1], \$a[2], \$a[2];
+ } else {
+ \$s[12] ||= ' ';
+ \$s[13] ||= ' ';
}
my (\$filter, \$hops) = \$dxchan->{spotsfilter}->it(\@s);
next unless (\$filter);
return 1 if $t && $t - $main::systime > 0;
DXDupe::add($ldupkey, $main::systime+$dupage);
$otext = substr($otext, 0, $duplth) if length $otext > $duplth;
- $ldupkey = "X$freq|$call|$by|$otext";
- $t = DXDupe::find($ldupkey);
- return 1 if $t && $t - $main::systime > 0;
- DXDupe::add($ldupkey, $main::systime+$dupage);
+ if ( length $otext && $otext ne $text) {
+ $ldupkey = "X$freq|$call|$by|$otext";
+ $t = DXDupe::find($ldupkey);
+ return 1 if $t && $t - $main::systime > 0;
+ DXDupe::add($ldupkey, $main::systime+$dupage);
+ }
# my $sdupkey = "X$freq|$call|$by";
# $t = DXDupe::find($sdupkey);
# return 1 if $t && $t - $main::systime > 0;