X-Git-Url: http://scm.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=perl%2FSpot.pm;h=a57edbe81659a1b1b63bb269e93bf7e99e94f3b2;hb=022b68994a271efa987d72ef1aff6164a0d96584;hp=99f0c83ed743934216698b7149ddff59b1647240;hpb=70d6fc010dd321598034d08907d3dfc98414cfca;p=spider.git diff --git a/perl/Spot.pm b/perl/Spot.pm index 99f0c83e..a57edbe8 100644 --- a/perl/Spot.pm +++ b/perl/Spot.pm @@ -335,7 +335,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]; }