X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Funset%2Fhere.pl;h=6666d4e72d493eb65f749abff61dbbbc90cce20e;hb=4c359e47990e8dae13161e92b373aa4b16b76513;hp=48dbae2c4a7bd2aadc2cea5d62a6d5a0ab6bd485;hpb=b060a0a3ee72530aa3f10d453186a662b66d7efe;p=spider.git diff --git a/cmd/unset/here.pl b/cmd/unset/here.pl index 48dbae2c..6666d4e7 100644 --- a/cmd/unset/here.pl +++ b/cmd/unset/here.pl @@ -15,10 +15,12 @@ my @out; foreach $call (@args) { $call = uc $call; - my $ref = DXCluster->get($call); - if ($ref) { + my $dxchan = DXChannel->get($call); + my $ref = DXCluster->get_exact($call); + if ($dxchan && $ref) { + $dxchan->here(0); $ref->here(0); - DXProt::broadcast_ak1a(DXProt::pc24($ref)); + DXProt::broadcast_all_ak1a(DXProt::pc24($ref), $DXProt::me); push @out, $self->msg('hereu', $call); } else { push @out, $self->msg('e3', "Unset Here", $call);