X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fdx.pl;h=20046781a68f27f6f45f293c3bdf15b67a258e61;hb=eadf33631520314ad5bf7d9daa3abd49935ce0cb;hp=eefbb8603380ad7e7c8978e64290598d6d290f02;hpb=7cf8fad46075f1ca2b8b30475a26a881c031a0ad;p=spider.git diff --git a/cmd/dx.pl b/cmd/dx.pl index eefbb860..20046781 100644 --- a/cmd/dx.pl +++ b/cmd/dx.pl @@ -35,7 +35,7 @@ return (1, $self->msg('dx2')) unless @f >= 2; if ($f[0] =~ /^by$/i) { $spotter = uc $f[1]; - $line =~ s/^\s*$f[0]\s+$f[1]\s+//; + $line =~ s/^\s*\Q$f[0]\s+\Q$f[1]\s+//; $line = $f[2]; @f = split /\s+/, $line; return (1, $self->msg('dx2')) unless @f >= 2;