#
-# 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->remotecmd;
+# are we permitted?
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);
+#$line = join(' ', map {s|[/-]\d+$||; $_} split(/\s+/, $line));
+return $DXProt::badnode->set(8, $self->msg('e12'), $self, $line);
+