Fix some problems (on testing) with AGW restarts
[spider.git] / cmd / unset / agwengine.pl
1 #
2 # set AGW engine off
3 #
4 #
5 #
6
7 my $self = shift;
8 return (1, $self->msg('e5')) if $self->priv < 9;
9 if ($AGWMsg::enable) {
10         AGWMsg::finish() if $AGWMsg::sock;
11         $AGWMsg::enable = 0;
12         return (1, $self->msg('agwu'));
13 }
14 return (1);