X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fbye.pl;h=9a842efd09b8268776af292d56275fc7e589daf7;hb=af378e74088394d9c70a9a01d67a311cf4774d96;hp=13195c60ebb3a38820c8f9f77e0e3de841746025;hpb=b735ad9a0325fae9ca0c2324794b99288a737802;p=spider.git diff --git a/cmd/bye.pl b/cmd/bye.pl index 13195c60..9a842efd 100644 --- a/cmd/bye.pl +++ b/cmd/bye.pl @@ -5,6 +5,7 @@ # 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);