X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fbadnode.pl;h=e569365175bc16222f3f875c514a9078b11afb8d;hb=3cdd57e7baf63341fdcba6b764f304291ed0dbb2;hp=cbfa5047eccb96b061bc8d159a5c2e57990e27d8;hpb=0a92a4608d715cd9cd7eec3c120da651fbb4da5b;p=spider.git diff --git a/cmd/show/badnode.pl b/cmd/show/badnode.pl index cbfa5047..e5693651 100644 --- a/cmd/show/badnode.pl +++ b/cmd/show/badnode.pl @@ -3,8 +3,12 @@ # # Copyright (c) 1998 - Dirk Koopman G1TLH # -# $Id$ +# # 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);