From: minima Date: Tue, 24 Jul 2001 08:01:11 +0000 (+0000) Subject: only check for lockout if the user exists X-Git-Tag: NEW_ROUTE_MERGED~2 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=ca8e84c32e70ea8eb1f30e716b7dbdc92f7e5083;p=spider.git only check for lockout if the user exists --- 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);