X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fhere.pl;h=52b1c67c36ebd2ca20aa5168eef561d4ea8d33cd;hb=4cc67094baaf97c4d3d47aca73e2585c36a866eb;hp=aad69d022d657233fddbc6d7fee97d4e5f42655a;hpb=0824a94355e5fb2b4c379bb013d66466725629f5;p=spider.git diff --git a/cmd/set/here.pl b/cmd/set/here.pl index aad69d02..52b1c67c 100644 --- a/cmd/set/here.pl +++ b/cmd/set/here.pl @@ -15,13 +15,15 @@ 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, DXM::msg('heres', $call); + push @out, $self->msg('heres', $call); } else { - push @out, DXM::msg('e3', "Set Here", $call); + push @out, $self->msg('e3', "Set Here", $call); } }