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 748640e18e77c216b8589f4f8c3f64642e469ca3..c62e5e315984e288422bdf8ce7b1b376259f5088 100644
(file)
--- a/
cmd/set/baddx.pl
+++ b/
cmd/set/baddx.pl
@@
-3,8
+3,12
@@
#
# Copyright (c) 1998 - Dirk Koopman G1TLH
#
#
# Copyright (c) 1998 - Dirk Koopman G1TLH
#
-#
$Id$
+#
#
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);