projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pass the correct line to PCProt
[spider.git]
/
cmd
/
bye.pl
diff --git
a/cmd/bye.pl
b/cmd/bye.pl
index 1fc73f66648a9251cb327d9c5923902adc20d308..653e939407a4067141f4da5bad97e11074af859a 100644
(file)
--- a/
cmd/bye.pl
+++ b/
cmd/bye.pl
@@
-5,5
+5,18
@@
#
my $self = shift;
#
my $self = shift;
-$self->state('bye');
+
+# log out text
+if ($self->is_user && -e "$main::data/logout") {
+ open(I, "$main::data/logout") or confess;
+ my @in = <I>;
+ close(I);
+ $self->send_now('D', @in);
+ sleep(1);
+}
+
+#$self->send_now('Z', "");
+
+$self->disconnect;
+
return (1);
return (1);