X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FSpot.pm;h=7f9139cf8c9c0def2f5f4160cca7a202f0de9781;hb=5851dcf9c9c37e30a01cbb4d94b3681e6e542b57;hp=8f20a99952e8d28b47ce8179d9af32e9f42a968b;hpb=6eb08c1c1d0ba36ac588053a40d6367f1b069ba1;p=spider.git diff --git a/perl/Spot.pm b/perl/Spot.pm index 8f20a999..7f9139cf 100644 --- a/perl/Spot.pm +++ b/perl/Spot.pm @@ -370,7 +370,7 @@ sub dup $text =~ s/\%([0-9A-F][0-9A-F])/chr(hex($1))/eg; $text = uc unpad($text); if ($cty && $text && length $text <= 4) { - unless ($text =~ /^CQ/ || $text =~ /^\d+$/) { + unless ($text =~ /^C?Q/ || $text =~ /^\d+$/) { my @try = Prefix::cty_data($text); $text = "" if $cty == $try[0]; }