change DXChannel::get_all_ak1a to get_all_nodes
[spider.git] / perl / AnnTalk.pm
index 987b885d05bb06403559192714c947cc8ef4ac27..383e71557fa7551561bf735659ea097bfed431aa 100644 (file)
@@ -26,8 +26,9 @@ sub dup
 
        chomp $text;
        unpad($text);
+       $text =~ s/[^a-zA-Z0-9]//g;
        $text = substr($text, 0, $duplth) if length $text > $duplth; 
-       my $dupkey = "A$to|$text";
+       my $dupkey = "A$to|\L$text";
        return DXDupe::check($dupkey, $main::systime + $dupage);
 }