]> dxcluster.net Git - spider.git/commitdiff
change the self altering logic a bit
authorminima <minima>
Sat, 9 Jun 2001 00:25:56 +0000 (00:25 +0000)
committerminima <minima>
Sat, 9 Jun 2001 00:25:56 +0000 (00:25 +0000)
perl/DXProt.pm

index 4e130f188c41cc6d570af7a5ef339093561b35a2..9fb40a81b4f5100baddee61f002dbd0e92da77cd 100644 (file)
@@ -534,7 +534,7 @@ sub normal
                                return;
                        }
                        $dxchan = DXChannel->get($ncall);
-                       if ($dxchan ne $self) {
+                       if ($dxchan && $dxchan ne $self) {
                                dbg('chan', "PCPROT: PC16 from $self->{call} trying to alter locally connected $ncall, ignored!");
                                return;
                        }
@@ -579,7 +579,7 @@ sub normal
                                return;
                        }
                        $dxchan = DXChannel->get($ncall);
-                       if ($dxchan ne $self) {
+                       if ($dxchan && $dxchan ne $self) {
                                dbg('chan', "PCPROT: PC17 from $self->{call} trying to alter locally connected $ncall, ignored!");
                                return;
                        }