added a load of eph changes
[spider.git] / cmd / unset / here.pl
index 63a32162b4adab4dda170eddbcc7478cb5684e42..c1c7b0f73ed4e062f9396cfaa60af2ec324b74da 100644 (file)
@@ -21,10 +21,14 @@ foreach $call (@args) {
                $dxchan->here(0);
                push @out, $self->msg('hereu', $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(0);
                } 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(0);
                } else {
                        $ref = Route::Node::get($call);