added a load of eph changes
[spider.git] / cmd / set / here.pl
index e3d56f3ea30c2410b0f8e544aaa39be0d71915b1..8d5665c94366dd5497cc41245404f349377f1f7a 100644 (file)
@@ -21,10 +21,14 @@ foreach $call (@args) {
                $dxchan->here(1);
                push @out, $self->msg('heres', $call);
                if ($ref) {
-                       DXProt::broadcast_all_ak1a(DXProt::pc24($ref), $DXProt::me) ;
+                       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)) {
-                       DXProt::broadcast_all_ak1a(DXProt::pc24($ref), $DXProt::me) ;
+                       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);