X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fbadnode.pl;h=6ac5b3981916e0714f15c136e2daa410c4351d37;hb=5d10d2095199b0d798926fa9e79a3f580c296b67;hp=abdd2e2b872e9c9518cd472f562d361544d2dd2c;hpb=c3505bcfc922cd712bad2c20b3479cf8d1dc54fe;p=spider.git diff --git a/cmd/set/badnode.pl b/cmd/set/badnode.pl index abdd2e2b..6ac5b398 100644 --- a/cmd/set/badnode.pl +++ b/cmd/set/badnode.pl @@ -6,5 +6,9 @@ # # 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);