add agwrestart really this time
[spider.git] / cmd / agwrestart.pl
diff --git a/cmd/agwrestart.pl b/cmd/agwrestart.pl
new file mode 100644 (file)
index 0000000..3e44ef8
--- /dev/null
@@ -0,0 +1,9 @@
+#
+# restart an agw connection
+#
+# $Id$
+#
+my $self = shift;
+return (1, $self->msg('e5')) if $self->priv < 5;
+AGWMsg::init();
+return (1, $self->msg('done'));