prevent PC92 A/C changing our $my(alias|call)
[spider.git] / cmd / set / spider.pl
index 23cdd3780be256338f5f28da3c801050eb8fc922..28a91a12e50d045e8df2013426b8036c1f642538 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);