projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix some problems (on testing) with AGW restarts
[spider.git]
/
cmd
/
unset
/
agwengine.pl
diff --git a/cmd/unset/agwengine.pl
b/cmd/unset/agwengine.pl
new file mode 100644
(file)
index 0000000..
1c9e7d7
--- /dev/null
+++ b/
cmd/unset/agwengine.pl
@@ -0,0
+1,14
@@
+#
+# set AGW engine off
+#
+#
+#
+
+my $self = shift;
+return (1, $self->msg('e5')) if $self->priv < 9;
+if ($AGWMsg::enable) {
+ AGWMsg::finish() if $AGWMsg::sock;
+ $AGWMsg::enable = 0;
+ return (1, $self->msg('agwu'));
+}
+return (1);