X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXChannel.pm;h=2c82b1371fd31c4367e05521c1eab1fb4876777a;hb=refs%2Fheads%2Fnewusers;hp=0e543e9cea6f424c9dfe4cc6634b8b97ef7dc74c;hpb=102b51ca564ef29e7f84d2cf65d0eaa5fdab671a;p=spider.git diff --git a/perl/DXChannel.pm b/perl/DXChannel.pm index 0e543e9c..2c82b137 100644 --- a/perl/DXChannel.pm +++ b/perl/DXChannel.pm @@ -427,7 +427,7 @@ sub send # this is always later and always data my $call = $self->{call}; foreach my $l (@_) { - for (ref $l ? @$l : $l) { + for (ref($l) eq 'ARRAY' ? @$l : $l) { my @lines = split /\n/; for (@lines) { $conn->send_later("D$call|$_"); @@ -679,6 +679,11 @@ sub broadcast_list ($filter) = $dxchan->{spotsfilter}->it(@{$fref}) if ref $fref; next unless $filter; } + if ($sort eq 'rbn') { + next unless $dxchan->{dx}; # this is deliberate! + ($filter) = $dxchan->{spotsfilter}->it(@{$fref}) if ref $fref; + next unless $filter; + } next if $sort eq 'ann' && !$dxchan->{ann} && $s !~ /^To\s+LOCAL\s+de\s+(?:$main::myalias|$main::mycall)/i; next if $sort eq 'wwv' && !$dxchan->{wwv}; next if $sort eq 'wcy' && !$dxchan->{wcy};