X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?p=spider.git;a=blobdiff_plain;f=cmd%2Fconnect.pl;h=fd893974bb3673dfd87b921f1833afc7749a5a0d;hp=240029859fef470973e4b499e40705b61863e613;hb=ab811a0c902225075a9bd69749f65594079433a9;hpb=8182fba8e33d568b834621cc35c1ca7c74fb5487 diff --git a/cmd/connect.pl b/cmd/connect.pl index 24002985..fd893974 100644 --- a/cmd/connect.pl +++ b/cmd/connect.pl @@ -11,7 +11,7 @@ return (1, $self->msg('already', $call)) if DXChannel::get($call); return (1, $self->msg('outconn', $call)) if grep {$_->{call} eq $call} @main::outstanding_connects; return (1, $self->msg('conscript', $lccall)) unless -e "$main::root/connect/$lccall"; -my $user = DXUser->get($call); +my $user = DXUser::get($call); return (1, $self->msg('lockout', $call)) if $user && $user->lockout; my @out;