From: minima Date: Wed, 3 Jan 2007 14:35:02 +0000 (+0000) Subject: make sure all channels are sent on init X-Git-Tag: 1.54~75 X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?p=spider.git;a=commitdiff_plain;h=c004658d7d35fc317ae52e40a5280aa067eac6b7 make sure all channels are sent on init --- diff --git a/perl/DXProt.pm b/perl/DXProt.pm index a9d9e8ed..3ec11327 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -771,9 +771,9 @@ sub send_pc92_config dbg('DXProt::send_pc92_config') if isdbg('trace'); # send 'my' configuration for all users and pc92 capable nodes - my @dxchan = grep { $_->call ne $main::mycall && $_ != $self && !$_->{isolate} && $_->{do_pc92} } DXChannel::get_all_nodes(); + my @dxchan = grep { $_->call ne $main::mycall && $_ != $self && !$_->{isolate} } DXChannel::get_all(); my @localnodes = map { my $r = Route::Node::get($_->{call}); $r ? $r : () } @dxchan; - push @localnodes, map { my $r = Route::Node::get($_->{call}); $r ? $r : () } DXChannel::get_all_users(); +# push @localnodes, map { my $r = Route::Node::get($_->{call}); $r ? $r : () } DXChannel::get_all_users(); $self->send_route_pc92($main::mycall, \&pc92c, (scalar @localnodes)+1, $main::routeroot, @localnodes); # send the configuration of all the 'external' nodes that don't handle PC92