projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1. Add $main::bumpexisting variable which allows a new connection for a user
[spider.git]
/
cmd
/
dx.pl
diff --git
a/cmd/dx.pl
b/cmd/dx.pl
index eefbb8603380ad7e7c8978e64290598d6d290f02..b0be3bd83038c781f454acb5db9b54ff82d1e372 100644
(file)
--- a/
cmd/dx.pl
+++ b/
cmd/dx.pl
@@
-34,10
+34,11
@@
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 $main::allowdxby || $self->priv;
$spotter = uc $f[1];
$spotter = uc $f[1];
- $line =~ s/
^
\s*$f[0]\s+$f[1]\s+//;
-
$line = $f[2];
- @f = split /\s+/, $line;
+ $line =~ s/\s*$f[0]\s+$f[1]\s+//;
+
#
$line = $f[2];
+ @f = split /\s+/, $line
, 3
;
return (1, $self->msg('dx2')) unless @f >= 2;
}
return (1, $self->msg('dx2')) unless @f >= 2;
}