projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added swop file
[spider.git]
/
cmd
/
load
/
swop.pl
diff --git a/cmd/load/swop.pl
b/cmd/load/swop.pl
new file mode 100644
(file)
index 0000000..
a9e0e50
--- /dev/null
+++ b/
cmd/load/swop.pl
@@ -0,0
+1,7
@@
+# reload the swop file
+my $self = shift;
+my @out;
+return (1, $self->msg('e5')) if $self->priv < 9;
+push @out, (DXMsg::load_swop());
+@out = ($self->msg('ok')) unless @out;
+return (1, @out);