slight change to the checking for announces
[spider.git] / perl / AnnTalk.pm
index a6032363ac5e7cf5d847a288e36ed4f64bcd952f..911c2724ed021d3d03c15331bc8d6238fd362155 100644 (file)
@@ -28,7 +28,7 @@ sub dup
        chomp $text;
        unpad($text);
        $text = substr($text, 0, $duplth) if length $text > $duplth; 
-       my $dupkey = "$call|$to|$text";
+       my $dupkey = "$to|$text";
        return 1 if exists $dup{$dupkey};
        $dup{$dupkey} = $d;         # in seconds (to the nearest minute)
        return 0;