try fix node type changes from outside
[spider.git] / cmd / set / bbs.pl
index 8709dcd06646786a3766406cb607964b89c4b22f..9a3f517a30adc03f2641b3ab8bed8b0400bcbdcc 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);