X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Farcluster.pl;h=1b1659745042210f2438f1a7bffb99444bebcdfd;hb=16b98fc9cae1d4fb357aad17850a2aa1a601b053;hp=1587f70337c2fdbd439f3b8c8459ac59446de04b;hpb=903181489cdfc7998932577c8978b9b8101d105b;p=spider.git diff --git a/cmd/set/arcluster.pl b/cmd/set/arcluster.pl index 1587f703..1b165974 100644 --- a/cmd/set/arcluster.pl +++ b/cmd/set/arcluster.pl @@ -1,5 +1,5 @@ # -# set user type to 'S' for Spider node +# set user type to 'R' for AR-Cluster node # # Please note that this is only effective if the user is not on-line # @@ -19,6 +19,14 @@ return (1, $self->msg('e5')) if $self->priv < 5; foreach $call (@args) { $call = uc $call; + if ($call eq $main::mycall) { + push @out, $self->msg('e11', $call); + next; + } + if ($call eq $main::myalias) { + push @out, $self->msg('e11', $call); + next; + } my $chan = DXChannel::get($call); if ($chan) { push @out, $self->msg('nodee1', $call);