X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fclx.pl;h=dd0ee2fdbaf167452274bb8a225388b2b66e346e;hb=8007adef1e949086cb27444d61f554ba456c0685;hp=ba38b826767426a6fd47cc5c6143a1eb58b75106;hpb=b67b50de92dbf61ce939b42f7c74e30dc58eba41;p=spider.git diff --git a/cmd/set/clx.pl b/cmd/set/clx.pl index ba38b826..dd0ee2fd 100644 --- a/cmd/set/clx.pl +++ b/cmd/set/clx.pl @@ -19,7 +19,7 @@ return (1, $self->msg('e5')) if $self->priv < 5; foreach $call (@args) { $call = uc $call; - my $chan = DXChannel->get($call); + my $chan = DXChannel::get($call); if ($chan) { push @out, $self->msg('nodee1', $call); } else { @@ -29,6 +29,7 @@ foreach $call (@args) { if ($user) { $user->sort('C'); $user->homenode($call); + $user->lockout(0); $user->priv(1) unless $user->priv; $user->close(); push @out, $self->msg($create ? 'nodecc' : 'nodec', $call);