2 # reinit a cluster connection
4 my ($self, $line) = @_;
5 my @calls = split /\s+/, $line;
9 return (1, $self->msg('e5')) if $self->priv < 5;
11 foreach $call (@calls) {
13 next if $call eq $main::mycall;
14 my $dxchan = DXChannel->get($call);
16 if ($dxchan->is_ak1a) {
18 # first clear out any nodes on this dxchannel
19 my @gonenodes = map { $_->dxchan == $dxchan ? $_ : () } DXNode::get_all();
20 foreach my $node (@gonenodes) {
21 next if $dxchan == $DXProt::me;
22 DXProt::broadcast_ak1a(DXProt::pc21($node->call, 'Gone, re-init') , $dxchan) unless $dxchan->{isolate};
25 $dxchan->send(DXProt::pc38());
26 $dxchan->send(DXProt::pc18());
27 push @out, $self->msg('init1', $call);
30 push @out, $self->msg('e10', $call);