projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Now add files that the previous commit refered to
[spider.git]
/
cmd
/
set
/
baddx.pl
diff --git
a/cmd/set/baddx.pl
b/cmd/set/baddx.pl
index 319e09efad4e92b4ad282b3e16732d1955ab8078..c62e5e315984e288422bdf8ce7b1b376259f5088 100644
(file)
--- a/
cmd/set/baddx.pl
+++ b/
cmd/set/baddx.pl
@@
-6,5
+6,9
@@
#
#
my ($self, $line) = @_;
#
#
my ($self, $line) = @_;
+return (1, $self->msg('e5')) if $self->remotecmd;
+# are we permitted?
+return (1, $self->msg('e5')) if $self->priv < 6;
+$line = join(' ', map {s|[/-]\d+$||; $_} split(/\s+/, $line));
return $DXProt::baddx->set(8, $self->msg('e6'), $self, $line);
return $DXProt::baddx->set(8, $self->msg('e6'), $self, $line);