From ca8e84c32e70ea8eb1f30e716b7dbdc92f7e5083 Mon Sep 17 00:00:00 2001 From: minima Date: Tue, 24 Jul 2001 08:01:11 +0000 Subject: [PATCH] only check for lockout if the user exists --- cmd/connect.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/connect.pl b/cmd/connect.pl index 759785f8..d1c583cb 100644 --- a/cmd/connect.pl +++ b/cmd/connect.pl @@ -12,7 +12,7 @@ return (1, $self->msg('outconn', $call)) if grep {$_->{call} eq $call} @main::ou return (1, $self->msg('conscript', $lccall)) unless -e "$main::root/connect/$lccall"; my $user = DXUser->get($call); -return (1, $self->msg('lockout', $call)) if $user->lockout; +return (1, $self->msg('lockout', $call)) if $user && $user->lockout; my @out; push @out, $self->msg('constart', $call); -- 2.43.0