From fd0c4021c5dfaf1c4d83c5c31c71f3520b4fe647 Mon Sep 17 00:00:00 2001 From: minima Date: Sat, 9 Jun 2001 00:25:56 +0000 Subject: [PATCH] change the self altering logic a bit --- perl/DXProt.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.43.0