X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=cmd%2Fset%2Fhere.pl;h=52b1c67c36ebd2ca20aa5168eef561d4ea8d33cd;hb=4cc67094baaf97c4d3d47aca73e2585c36a866eb;hp=136700f5571a78f13a25e48ad589be01c19e79e5;hpb=b060a0a3ee72530aa3f10d453186a662b66d7efe;p=spider.git diff --git a/cmd/set/here.pl b/cmd/set/here.pl index 136700f5..52b1c67c 100644 --- a/cmd/set/here.pl +++ b/cmd/set/here.pl @@ -15,9 +15,11 @@ my @out; foreach $call (@args) { $call = uc $call; - my $ref = DXCluster->get($call); - if ($ref) { - $ref->here(1); + my $dxchan = DXChannel->get($call); + my $ref = DXCluster->get_exact($call); + if ($dxchan && $ref) { + $dxchan->here(1); + $ref->here(1); DXProt::broadcast_ak1a(DXProt::pc24($ref)); push @out, $self->msg('heres', $call); } else {