]> dxcluster.net Git - spider.git/commitdiff
added load bands
authordjk <djk>
Fri, 13 Nov 1998 18:43:11 +0000 (18:43 +0000)
committerdjk <djk>
Fri, 13 Nov 1998 18:43:11 +0000 (18:43 +0000)
cmd/load/bands.pl [new file with mode: 0644]

diff --git a/cmd/load/bands.pl b/cmd/load/bands.pl
new file mode 100644 (file)
index 0000000..cd184f6
--- /dev/null
@@ -0,0 +1,8 @@
+#
+# load the bands  file after changing it
+#
+my $self = shift;
+return (0, $self->msg('e5')) if $self->priv < 9;
+my @out = Bands::load($self);
+@out = ($self->msg('ok')) if !@out;
+return (1, @out);