#
# the bye command
#
#
#

my $self = shift;
return (1, $self->msg('e5')) if $self->inscript;

# log out text
if ($self->is_user && -e localdata("logout")) {
	open(I, localdata("logout")) or confess;
	my @in = <I>;
	close(I);
	$self->send_now('D', @in);
	sleep(1);
}

#$self->send_now('Z', "");

$self->disconnect;

return (1);
