X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fbye.pl;h=41d3ee91af35a549d17dcfd57019b4c72ae82b75;hb=refs%2Fheads%2Fspider;hp=13195c60ebb3a38820c8f9f77e0e3de841746025;hpb=b735ad9a0325fae9ca0c2324794b99288a737802;p=spider.git diff --git a/cmd/bye.pl b/cmd/bye.pl index 13195c60..41d3ee91 100644 --- a/cmd/bye.pl +++ b/cmd/bye.pl @@ -1,10 +1,11 @@ # # the bye command # -# $Id$ +# # my $self = shift; +return (1, $self->msg('e5')) if $self->inscript; # log out text if ($self->is_user && -e "$main::data/logout") { @@ -15,6 +16,8 @@ if ($self->is_user && -e "$main::data/logout") { sleep(1); } +#$self->send_now('Z', ""); + $self->disconnect; return (1);