]> dxcluster.org Git - spider.git/commitdiff
fixed user filtering
authordjk <djk>
Sun, 2 May 1999 18:42:42 +0000 (18:42 +0000)
committerdjk <djk>
Sun, 2 May 1999 18:42:42 +0000 (18:42 +0000)
perl/DXProt.pm

index 45e9b30f8ea3121b51a99f0ee48fe92c401aab16..dded0e6451073153fea76fd1e77b8834e8cced9b 100644 (file)
@@ -713,7 +713,7 @@ sub send_dx_spot
                } elsif ($dxchan->is_user) {
                        my $buf = Spot::formatb($_[0], $_[1], $_[2], $_[3], $_[4]);
                        $buf .= "\a\a" if $dxchan->beep;
-                       $dxchan->send($buf);
+                       $dxchan->send($buf) if !$hops || ($hops && $filter);
                }                                       
        }
 }