9 return (1, $self->msg('e5')) if $self->inscript || $self->remotecmd;
11 my $fn = localdata("logout");
12 dbg("fn: $fn " . (-e $fn ? 'exists' : 'missing'));
14 if ($self->is_user && -e $fn) {
15 $self->send_file($fn);
16 Mojo::IOLoop->timer($Msg::disc_waittime, sub{$self->disconnect});