]> dxcluster.org Git - spider.git/commitdiff
only check for lockout if the user exists
authorminima <minima>
Tue, 24 Jul 2001 08:01:11 +0000 (08:01 +0000)
committerminima <minima>
Tue, 24 Jul 2001 08:01:11 +0000 (08:01 +0000)
cmd/connect.pl

index 759785f87680ee4b7e56e4e55ba21437295439b4..d1c583cbd3d6a7f3a65a7062bd373523d34c48af 100644 (file)
@@ -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);