try fix node type changes from outside
[spider.git] / cmd / set / clx.pl
index eaead5ab22e0637e7250a1020e0848a82dbd591e..38c02dcd096ec018793ccaac13406db551ac7ff2 100644 (file)
@@ -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);