X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fbadnode.pl;h=abdd2e2b872e9c9518cd472f562d361544d2dd2c;hb=refs%2Fheads%2Fnewpc92timings;hp=13d91e77a155e097a26178f8c59ab77e36c0bb0f;hpb=8df1aee164a383a9093706023a1187caff925cc7;p=spider.git diff --git a/cmd/set/badnode.pl b/cmd/set/badnode.pl index 13d91e77..abdd2e2b 100644 --- a/cmd/set/badnode.pl +++ b/cmd/set/badnode.pl @@ -1,17 +1,10 @@ # -# set list of bad nodes +# set list of bad dx nodes # # Copyright (c) 1998 - Dirk Koopman G1TLH # -# $Id$ +# # my ($self, $line) = @_; -return (1, $self->msg('e5')) if $self->priv < 6; -my @f = split /\s+/, $line; -my @out; -for (@f) { - my $call = uc $_; - push @DXProt::nodx_node, $call; - push @out, "$call is now a badnode"; -} -return (1, @out); +return $DXProt::badnode->set(8, $self->msg('e12'), $self, $line); +