]> dxcluster.org Git - spider.git/commitdiff
set/lockout now prevents any outgoing connect taking place
authorminima <minima>
Tue, 15 May 2001 12:41:50 +0000 (12:41 +0000)
committerminima <minima>
Tue, 15 May 2001 12:41:50 +0000 (12:41 +0000)
Changes
cmd/connect.pl

diff --git a/Changes b/Changes
index 3b80c7a509b2530477fa423097a35766cff89043..632b8b9cda0e72f7368e7d727d4fab3b674eaa3f 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,3 +1,5 @@
+15May01=======================================================================
+1. set/lockout now prevents any outgoing connection taking place.
 14May01=======================================================================
 1. fix problem with re-reading in db definitions for remote databases.
 2. try to prevent situations where two can (semi) successfully login, probably
index d80a468b97c84c929d4d81ec0ebdb2959e031e06..759785f87680ee4b7e56e4e55ba21437295439b4 100644 (file)
@@ -11,6 +11,9 @@ 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);
+return (1, $self->msg('lockout', $call)) if $user->lockout;
+
 my @out;
 push @out, $self->msg('constart', $call);
 ExtMsg::start_connect($call, "$main::root/connect/$lccall");