#
# the bye command
#
#
#


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

my $fn = localdata("logout");
dbg("fn: $fn " . (-e $fn ? 'exists' : 'missing'));

if ($self->is_user && -e $fn) {
	$self->send_file($fn);
}

$self->disconnect;

return (1);
