try fix node type changes from outside
[spider.git] / cmd / set / user.pl
index 209f0e98059cf1902ea1f364ec1ec6325bca2c8c..62951074d1c0f743dcaa24b128d15a1aeaaab06f 100644 (file)
@@ -19,6 +19,10 @@ 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;
+       }
        my $chan = DXChannel::get($call);
        if ($chan) {
                push @out, $self->msg('nodee1', $call);