From: minima Date: Wed, 21 Nov 2001 15:57:53 +0000 (+0000) Subject: change the generatation of PC16/17 a bit X-Git-Tag: R_1_49~1 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=d093531de45491a7515474dcb59494886ad06d00;p=spider.git change the generatation of PC16/17 a bit --- diff --git a/Changes b/Changes index 23b41668..28c98b7b 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,6 @@ +21Nov01======================================================================= +1. altered the PC16/17 generation slightly to see whether this cures Roland's +problem. 19Nov01======================================================================= 1. added Ducie Island to prefixes 17Nov01======================================================================= diff --git a/perl/DXCommandmode.pm b/perl/DXCommandmode.pm index 791256dc..212b9a0c 100644 --- a/perl/DXCommandmode.pm +++ b/perl/DXCommandmode.pm @@ -63,7 +63,10 @@ sub new my $pkg = shift; my $call = shift; my @rout = $main::routeroot->add_user($call, Route::here(1)); - DXProt::route_pc16($main::me, $main::routeroot, @rout) if @rout; + + # ALWAYS output the user + my $ref = Route::User::get($call); + DXProt::route_pc16($main::me, $main::routeroot, $ref) if $ref; return $self; } @@ -495,13 +498,13 @@ sub disconnect if ($uref) { @rout = $main::routeroot->del_user($uref); dbg("B/C PC17 on $main::mycall for: $call") if isdbg('route'); + + # issue a pc17 to everybody interested + DXProt::route_pc17($main::me, $main::routeroot, $uref); } else { confess "trying to disconnect a non existant user $call"; } - # issue a pc17 to everybody interested - DXProt::route_pc17($main::me, $main::routeroot, @rout) if @rout; - # I was the last node visited $self->user->node($main::mycall);