X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FSpot.pm;h=8972447b7f1116612c6de228d635e879ec124b2f;hb=e11cbc59392fe1d2c9f2212ce1b4f461932dfe87;hp=9a4b97249b46ab1516e50567aad96c4ede332a2c;hpb=90d957b802f7b48c10a98521a5c7ca387d2fa1c0;p=spider.git diff --git a/perl/Spot.pm b/perl/Spot.pm index 9a4b9724..8972447b 100644 --- a/perl/Spot.pm +++ b/perl/Spot.pm @@ -350,9 +350,9 @@ sub dup my $ldupkey = "X$freq|$call|$by|$text"; my $t = DXDupe::find($ldupkey); return 1 if $t && $t - $main::systime > 0; - if ($otext) { - DXDupe::add($ldupkey, $main::systime+$dupage); - $otext = substr($otext, 0, $duplth) if length $otext > $duplth; + DXDupe::add($ldupkey, $main::systime+$dupage); + $otext = substr($otext, 0, $duplth) if length $otext > $duplth; + if ( length $otext && $otext ne $text) { $ldupkey = "X$freq|$call|$by|$otext"; $t = DXDupe::find($ldupkey); return 1 if $t && $t - $main::systime > 0;