X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fhere.pl;h=44fc4d4b99ca234a1fb8bb63c6f37b35894e847c;hb=12eefe496e1a6d18448b3cc36d5732e9d34b873e;hp=e3d56f3ea30c2410b0f8e544aaa39be0d71915b1;hpb=a8f8fe60a63b000f22897696fb127fc856c41cb7;p=spider.git diff --git a/cmd/set/here.pl b/cmd/set/here.pl index e3d56f3e..44fc4d4b 100644 --- a/cmd/set/here.pl +++ b/cmd/set/here.pl @@ -16,19 +16,16 @@ my @out; foreach $call (@args) { $call = uc $call; my $dxchan = DXChannel->get($call); - my $ref = Route::User::get($call); if ($dxchan) { $dxchan->here(1); push @out, $self->msg('heres', $call); + my $ref = Route::User::get($call); + $ref = Route::Node::get($call) unless $ref; if ($ref) { - DXProt::broadcast_all_ak1a(DXProt::pc24($ref), $DXProt::me) ; $ref->here(1); - } elsif ($ref = Route::Node::get($call)) { - DXProt::broadcast_all_ak1a(DXProt::pc24($ref), $DXProt::me) ; - $ref->here(1); - } else { - $ref = Route::Node::get($call); - $ref->here(1) if $ref; + my $s = DXProt::pc24($ref); + DXProt::eph_dup($s); + DXProt::broadcast_all_ak1a($s, $DXProt::me) ; } } else { push @out, $self->msg('e3', "Set Here", $call);