X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fload%2Fbands.pl;fp=cmd%2Fload%2Fbands.pl;h=cd184f68087e8cab89fdff3d6f75d78bae32c0b1;hb=07e07de14eea115273999b9706b591b586e88479;hp=0000000000000000000000000000000000000000;hpb=cef696652d16bbeec53aca45234ea0b64f3496d3;p=spider.git diff --git a/cmd/load/bands.pl b/cmd/load/bands.pl new file mode 100644 index 00000000..cd184f68 --- /dev/null +++ b/cmd/load/bands.pl @@ -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);