X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fdxnet.pl;h=3eadff0bfad1af3738dc1adabc883d0c9dbd917a;hb=9b65e70322b24190bb5f677ccedcc000ab4625d2;hp=6d2011364cacb64e429591baf72c900b91516301;hpb=d2cdffc4098ca013a2319303f53ec610ab8aa393;p=spider.git diff --git a/cmd/set/dxnet.pl b/cmd/set/dxnet.pl index 6d201136..3eadff0b 100644 --- a/cmd/set/dxnet.pl +++ b/cmd/set/dxnet.pl @@ -1,5 +1,5 @@ # -# set user type to 'S' for Spider node +# set user type to 'X' for DXNet 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);