From 33947d79caa1bf12ef34a9ff1c7d027ec1e2a86e Mon Sep 17 00:00:00 2001 From: Dirk Koopman Date: Sat, 17 Nov 2007 15:31:40 +0000 Subject: [PATCH] prevent LOCAL chat from propagating outside node --- perl/DXProtHandle.pm | 2 +- perl/Version.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/perl/DXProtHandle.pm b/perl/DXProtHandle.pm index 3e4d3134..626b3dae 100644 --- a/perl/DXProtHandle.pm +++ b/perl/DXProtHandle.pm @@ -1934,7 +1934,7 @@ sub handle_93 # chat messages to non-pc9x nodes $self->send_chat(1, pc12($from, $text, undef, $to, undef, $pcall), $from, '*', $text, $to, $pcall, '0'); } - $self->broadcast_route_pc9x($pcall, undef, $line, 0); + $self->broadcast_route_pc9x($pcall, undef, $line, 0) unless $to eq 'LOCAL' || $via eq 'LOCAL'; } # if get here then rebroadcast the thing with its Hop count decremented (if diff --git a/perl/Version.pm b/perl/Version.pm index d7a28831..9a1c013d 100644 --- a/perl/Version.pm +++ b/perl/Version.pm @@ -11,6 +11,6 @@ use vars qw($version $subversion $build); $version = '1.54'; $subversion = '0'; -$build = '185'; +$build = '186'; 1; -- 2.43.0