From: djk Date: Sun, 2 May 1999 18:42:42 +0000 (+0000) Subject: fixed user filtering X-Git-Tag: R_1_27~1 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=8b0c842c51c3a51b45ff8c4940d6b5fad00cdde8;p=spider.git fixed user filtering --- diff --git a/perl/DXProt.pm b/perl/DXProt.pm index 45e9b30f..dded0e64 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -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); } } }