X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Farcluster.pl;h=1b1659745042210f2438f1a7bffb99444bebcdfd;hb=9b65e70322b24190bb5f677ccedcc000ab4625d2;hp=6ad80c6c6acc899c018859be0df5549823c45bbc;hpb=fe7780b7eb15406a7e5caac4ecc499c8f3304e18;p=spider.git diff --git a/cmd/set/arcluster.pl b/cmd/set/arcluster.pl index 6ad80c6c..1b165974 100644 --- a/cmd/set/arcluster.pl +++ b/cmd/set/arcluster.pl @@ -1,11 +1,11 @@ # -# 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 # # Copyright (c) 1998 - Dirk Koopman # -# $Id$ +# # my ($self, $line) = @_; @@ -19,11 +19,19 @@ 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); } else { - $user = DXUser->get($call); + $user = DXUser::get($call); $create = !$user; $user = DXUser->new($call) if $create; if ($user) {