projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fiz strange carp errors on startup with no route_*_cache files
[spider.git]
/
cmd
/
unset
/
badnode.pl
diff --git
a/cmd/unset/badnode.pl
b/cmd/unset/badnode.pl
index 12f143abceda212bc42606560d0da646dcd2f531..c104be27fc52597a64dd5a8762da9451c9233551 100644
(file)
--- a/
cmd/unset/badnode.pl
+++ b/
cmd/unset/badnode.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::badnode->unset(8, $self->msg('e12'), $self, $line);
return $DXProt::badnode->unset(8, $self->msg('e12'), $self, $line);