X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fhere.pl;h=44fc4d4b99ca234a1fb8bb63c6f37b35894e847c;hb=12eefe496e1a6d18448b3cc36d5732e9d34b873e;hp=8d5665c94366dd5497cc41245404f349377f1f7a;hpb=58234eafde7d75028574ae6aa519d2197120c558;p=spider.git diff --git a/cmd/set/here.pl b/cmd/set/here.pl index 8d5665c9..44fc4d4b 100644 --- a/cmd/set/here.pl +++ b/cmd/set/here.pl @@ -16,23 +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) { - my $s = DXProt::pc24($ref); - DXProt::eph_dup($s); - DXProt::broadcast_all_ak1a($s, $DXProt::me) ; $ref->here(1); - } elsif ($ref = Route::Node::get($call)) { my $s = DXProt::pc24($ref); DXProt::eph_dup($s); DXProt::broadcast_all_ak1a($s, $DXProt::me) ; - $ref->here(1); - } else { - $ref = Route::Node::get($call); - $ref->here(1) if $ref; } } else { push @out, $self->msg('e3', "Set Here", $call);