X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=perl%2FDXProtHandle.pm;h=5d7aee9a73cfe519c95a080dc5d128d725959b15;hb=ef2bc0f99b5022339b14dcc56f49547220b79f11;hp=d63b6e00926d70e2edf05b9f233e7eb0b268e5f3;hpb=8bdb2c82158893b5fdddb7a88f83375411f99679;p=spider.git diff --git a/perl/DXProtHandle.pm b/perl/DXProtHandle.pm index d63b6e00..5d7aee9a 100644 --- a/perl/DXProtHandle.pm +++ b/perl/DXProtHandle.pm @@ -44,6 +44,7 @@ use vars qw($pc11_max_age $pc23_max_age $last_pc50 $eph_restime $eph_info_restim $investigation_int $pc19_version $myprot_version %nodehops $baddx $badspotter $badnode $censorpc $rspfcheck $allowzero $decode_dk0wcy $send_opernam @checklist + $eph_pc15_restime ); # incoming talk commands @@ -375,6 +376,22 @@ sub handle_12 $self->route($_[2], $line); } } + +sub handle_15 +{ + my $self = shift; + my $pcno = shift; + my $line = shift; + my $origin = shift; + + if (eph_dup($line, $eph_pc15_restime)) { + dbg("PCPROT: Ephemeral dup, dropped") if isdbg('chanerr'); + } else { + unless ($self->{isolate}) { + DXChannel::broadcast_nodes($line, $self) if $line =~ /\^H\d+\^?~?$/; # send it to everyone but me + } + } +} # incoming user sub handle_16 @@ -1411,7 +1428,7 @@ sub handle_92 return; } - $self->broadcast_route_pc9x($origin, undef, $line, 0); + $self->broadcast_route_pc9x($pcall, undef, $line, 0); foreach my $r (@rdel) { next unless $r;