X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fbadnode.pl;fp=cmd%2Fshow%2Fbadnode.pl;h=e13e6c23224bd2915eeffaf7664b3b85f25fe7e1;hb=8df1aee164a383a9093706023a1187caff925cc7;hp=0000000000000000000000000000000000000000;hpb=de6161942af879983173417d630b6327b50a423a;p=spider.git diff --git a/cmd/show/badnode.pl b/cmd/show/badnode.pl new file mode 100644 index 00000000..e13e6c23 --- /dev/null +++ b/cmd/show/badnode.pl @@ -0,0 +1,14 @@ +# +# show list of bad nodes +# +# Copyright (c) 1998 - Dirk Koopman G1TLH +# +# $Id$ +# +my ($self, $line) = @_; +return (1, $self->msg('e5')) if $self->priv < 6; +my @out; +for (@DXProt::nodx_node) { + push @out, "$_ is a badnode"; +} +return (1, @out);