projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wip
[spider.git]
/
cmd
/
show
/
badnode.pl
diff --git
a/cmd/show/badnode.pl
b/cmd/show/badnode.pl
index cbfa5047eccb96b061bc8d159a5c2e57990e27d8..e569365175bc16222f3f875c514a9078b11afb8d 100644
(file)
--- a/
cmd/show/badnode.pl
+++ b/
cmd/show/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->show(1, $self);
return $DXProt::badnode->show(1, $self);