projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix disconnect from peer
[spider.git]
/
cmd
/
set
/
arcluster.pl
diff --git
a/cmd/set/arcluster.pl
b/cmd/set/arcluster.pl
index 9378a1730dce53a3be307d2215341ff2b6371f85..1587f70337c2fdbd439f3b8c8459ac59446de04b 100644
(file)
--- a/
cmd/set/arcluster.pl
+++ b/
cmd/set/arcluster.pl
@@
-5,7
+5,7
@@
#
# Copyright (c) 1998 - Dirk Koopman
#
#
# Copyright (c) 1998 - Dirk Koopman
#
-#
$Id$
+#
#
my ($self, $line) = @_;
#
my ($self, $line) = @_;
@@
-19,16
+19,17
@@
return (1, $self->msg('e5')) if $self->priv < 5;
foreach $call (@args) {
$call = uc $call;
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 {
if ($chan) {
push @out, $self->msg('nodee1', $call);
} else {
- $user = DXUser
->
get($call);
+ $user = DXUser
::
get($call);
$create = !$user;
$user = DXUser->new($call) if $create;
if ($user) {
$user->sort('R');
$user->homenode($call);
$create = !$user;
$user = DXUser->new($call) if $create;
if ($user) {
$user->sort('R');
$user->homenode($call);
+ $user->lockout(0);
$user->priv(1) unless $user->priv;
$user->close();
push @out, $self->msg($create ? 'noderc' : 'noder', $call);
$user->priv(1) unless $user->priv;
$user->close();
push @out, $self->msg($create ? 'noderc' : 'noder', $call);