make it unconditional on isolate
authorminima <minima>
Mon, 3 Sep 2001 19:43:57 +0000 (19:43 +0000)
committerminima <minima>
Mon, 3 Sep 2001 19:43:57 +0000 (19:43 +0000)
perl/DXProt.pm

index 846a6c9245f3d0cdc45f8c3f08ea9e0a6e8e97ee..f5b6a81860d6a85a4ce5478d2322429f3ff3f86e 100644 (file)
@@ -1827,13 +1827,11 @@ sub broadcast_route
        my $dxchan;
        my $line;
        
-       foreach $dxchan (@dxchan) {
-               next if $dxchan == $self;
-               next if $dxchan == $me;
-               if ($dxchan->{routefilter}) {
+       unless ($self->{isolate}) {
+               foreach $dxchan (@dxchan) {
+                       next if $dxchan == $self;
+                       next if $dxchan == $me;
                        $dxchan->send_route($generate, @_);
-               } else {
-                       $dxchan->send_route($generate, @_) unless $self->{isolate};
                }
        }
 }