X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXCommandmode.pm;h=3701c085d39823fe8ec622ec1f24f1ceb8f3812a;hb=a35c16af85ef1707879f24e065a66ba3c9ae60c1;hp=528067061a52332a7c9c7b4a5659a9407e05a055;hpb=ae313f260d904cd45b58e4d1e620a49aef1a42c9;p=spider.git diff --git a/perl/DXCommandmode.pm b/perl/DXCommandmode.pm index 52806706..3701c085 100644 --- a/perl/DXCommandmode.pm +++ b/perl/DXCommandmode.pm @@ -75,7 +75,10 @@ sub new # ALWAYS output the user my $ref = Route::User::get($call); - $main::me->route_pc16($main::mycall, undef, $main::routeroot, $ref) if $ref; + if ($ref) { + $main::me->route_pc16($main::mycall, undef, $main::routeroot, $ref); + $main::me->route_pc92a($main::mycall, undef, $main::routeroot, $ref); + } return $self; } @@ -577,6 +580,7 @@ sub disconnect # issue a pc17 to everybody interested $main::me->route_pc17($main::mycall, undef, $main::routeroot, $uref); + $main::me->route_pc92d($main::mycall, undef, $main::routeroot, $uref); } else { confess "trying to disconnect a non existant user $call"; } @@ -833,7 +837,7 @@ sub talk $line =~ s/\\5E/\^/g; if ($self->{talk}) { if ($self->{gtk}) { - $self->local_send('T', dd(['talk',$to,$from,$via,$line,@_])); + $self->local_send('T', dd(['talk',$to,$from,$via,$line])); } else { $self->local_send('T', "$to de $from: $line"); } @@ -1050,9 +1054,9 @@ sub broadcast_debug foreach my $dxchan (DXChannel::get_all) { next unless $dxchan->{enhanced} && $dxchan->{senddbg}; if ($dxchan->{gtk}) { - $dxchan->local_send('L', dd(['db', $s])); + $dxchan->send_later('L', dd(['db', $s])); } else { - $dxchan->local_send('L', $s); + $dxchan->send_later('L', $s); } } }