X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXMsg.pm;h=3ca756894a5ea2c3ce83602bdcef7504141acb7e;hb=183573e742b5233e3b7ac6882770d16942a10542;hp=e27bf8022487cd12e2094ab3b4e6a0481a6b6e5c;hpb=a8f8fe60a63b000f22897696fb127fc856c41cb7;p=spider.git diff --git a/perl/DXMsg.pm b/perl/DXMsg.pm index e27bf802..3ca75689 100644 --- a/perl/DXMsg.pm +++ b/perl/DXMsg.pm @@ -613,12 +613,11 @@ sub queue_msg # $clref = Route::Node::get($hnode) if $hnode; # } if ($clref) { - my $dxc = $clref->dxchan; - if ($dxc) { - if (grep {my $dxc=$clref->dxchan; $dxc && $dxc == $_ } DXCommandmode::get_all()) { + $dxchan = $clref->dxchan; + if ($dxchan) { + if ($dxchan->is_node) { next if $clref->call eq $main::mycall; # i.e. it lives here - $dxchan = $clref->dxchan; - $ref->start_msg($dxchan) if $dxchan && !get_busy($dxchan->call) && $dxchan->state eq 'normal'; + $ref->start_msg($dxchan) if !get_busy($dxchan->call) && $dxchan->state eq 'normal'; } } else { dbg('route', "Route: No dxchan for $ref->{to} " . ref($clref) );