X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Farcluster.pl;h=1b1659745042210f2438f1a7bffb99444bebcdfd;hb=9b65e70322b24190bb5f677ccedcc000ab4625d2;hp=1587f70337c2fdbd439f3b8c8459ac59446de04b;hpb=d2cdffc4098ca013a2319303f53ec610ab8aa393;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);