From: minima Date: Sat, 9 Jun 2001 00:25:56 +0000 (+0000) Subject: change the self altering logic a bit X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=fd0c4021c5dfaf1c4d83c5c31c71f3520b4fe647;p=spider.git change the self altering logic a bit --- diff --git a/perl/DXProt.pm b/perl/DXProt.pm index 4e130f18..9fb40a81 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -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; }