From: Dirk Koopman Date: Sat, 17 Nov 2007 15:31:40 +0000 (+0000) Subject: prevent LOCAL chat from propagating outside node X-Git-Tag: 1.55~34 X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=33947d79caa1bf12ef34a9ff1c7d027ec1e2a86e;p=spider.git prevent LOCAL chat from propagating outside node --- 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;