projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
abd3cfb
)
only check for lockout if the user exists
author
minima
<minima>
Tue, 24 Jul 2001 08:01:11 +0000
(08:01 +0000)
committer
minima
<minima>
Tue, 24 Jul 2001 08:01:11 +0000
(08:01 +0000)
cmd/connect.pl
patch
|
blob
|
history
diff --git
a/cmd/connect.pl
b/cmd/connect.pl
index 759785f87680ee4b7e56e4e55ba21437295439b4..d1c583cbd3d6a7f3a65a7062bd373523d34c48af 100644
(file)
--- 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('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);
my @out;
push @out, $self->msg('constart', $call);