prevent LOCAL chat from propagating outside node
[spider.git] / perl / DXProtHandle.pm
index 3e4d3134d40ba532bec9138fab4503679ffe2f30..626b3daee4d66e53fcc9fee81900a656bb30f5ed 100644 (file)
@@ -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