projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added load bands
[spider.git]
/
cmd
/
load
/
bands.pl
diff --git a/cmd/load/bands.pl
b/cmd/load/bands.pl
new file mode 100644
(file)
index 0000000..
cd184f6
--- /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);