X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fbye.pl;h=41d3ee91af35a549d17dcfd57019b4c72ae82b75;hb=7f7535c09c58067e628590d92ae1953e9f6df83b;hp=f38f93f8a0d72cdee32e66c23d1187ad47ceeb7c;hpb=62d82b83c7cfef2ae3ef3a0ee6dea74ce7a37b2c;p=spider.git diff --git a/cmd/bye.pl b/cmd/bye.pl index f38f93f8..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,7 +16,7 @@ if ($self->is_user && -e "$main::data/logout") { sleep(1); } -$self->send_now('Z', ""); +#$self->send_now('Z', ""); $self->disconnect;