projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
split DXProt into handlers and processing
[spider.git]
/
cmd
/
dx.pl
diff --git
a/cmd/dx.pl
b/cmd/dx.pl
index eefbb8603380ad7e7c8978e64290598d6d290f02..ce0c304fe87705be7194f66d46a2f1ee1e95f112 100644
(file)
--- a/
cmd/dx.pl
+++ b/
cmd/dx.pl
@@
-34,8
+34,9
@@
return (1, $self->msg('dx2')) unless @f >= 2;
# can be in any order
if ($f[0] =~ /^by$/i) {
# can be in any order
if ($f[0] =~ /^by$/i) {
+ return (1, $self->msg('e5')) unless $self->priv;
$spotter = uc $f[1];
$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;
$line = $f[2];
@f = split /\s+/, $line;
return (1, $self->msg('dx2')) unless @f >= 2;