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
/
badnode.pl
diff --git
a/cmd/set/badnode.pl
b/cmd/set/badnode.pl
index bcd4679cf3a9c997282fff497ce19216529cb2be..6ac5b3981916e0714f15c136e2daa410c4351d37 100644
(file)
--- a/
cmd/set/badnode.pl
+++ b/
cmd/set/badnode.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::badnode->set(8, $self->msg('e12'), $self, $line);
return $DXProt::badnode->set(8, $self->msg('e12'), $self, $line);