X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProtHandle.pm;h=16623045ba106afef6b63272e5cdad006ad522e5;hb=e5c997014264879491d54f28811853a010519f5e;hp=b58f95bf2f7e2f0e7bdd86b6f12670f27d6248da;hpb=a0526df192782a3968b2648050927653655ba4c8;p=spider.git diff --git a/perl/DXProtHandle.pm b/perl/DXProtHandle.pm index b58f95bf..16623045 100644 --- a/perl/DXProtHandle.pm +++ b/perl/DXProtHandle.pm @@ -1739,13 +1739,15 @@ sub handle_93 $dxchan = DXChannel::get($main::myalias) if $to eq $main::mycall; $dxchan = DXChannel::get($to) unless $dxchan; # check it... - if (ref $dxchan && $dxchan->isa('DXChannel')) { - if ($dxchan->is_user) { - $dxchan->talk($from, $to, $via, $text, $onode); - return; + if ($dxchan) { + if (ref $dxchan && $dxchan->isa('DXChannel')) { + if ($dxchan->is_user) { + $dxchan->talk($from, $to, $via, $text, $onode); + return; + } + } else { + dbg("ERROR: $to -> $dxchan is not a DXChannel! (local talk)"); } - } else { - dbg("ERROR: $to -> $dxchan is not a DXChannel! (local talk)"); } # convert to PC10 talks where appropriate