*** empty log message ***
[spider.git] / cmd / set / badnode.pl
diff --git a/cmd/set/badnode.pl b/cmd/set/badnode.pl
new file mode 100644 (file)
index 0000000..13d91e7
--- /dev/null
@@ -0,0 +1,17 @@
+#
+# set list of bad 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);