try fix node type changes from outside
[spider.git] / cmd / set / spider.pl
index 23cdd3780be256338f5f28da3c801050eb8fc922..a0e519b680d508c72d4298c5cfba7b2434a07ada 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::myalias) {
+               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);