X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=perl%2FDXProt.pm;h=1ffbe70193961fd899fb090d5b1e6c744df56ab5;hb=9c23c26e9c317f924994e1fead122708d3369091;hp=2feeda2d3d19282e1bb7ca5fa0d49b078fd6fe84;hpb=584783d0ee480f9f56c167fc2e2aec280ba5e897;p=spider.git diff --git a/perl/DXProt.pm b/perl/DXProt.pm index 2feeda2d..1ffbe701 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -203,7 +203,14 @@ sub normal return; } - my $spot = Spot::add($freq, $field[2], $d, $text, $spotter, $field[7]); + my @spot = Spot::add($freq, $field[2], $d, $text, $spotter, $field[7]); + + # + # @spot at this point contains:- + # freq, spotted call, time, text, spotter, spotted cc, spotters cc, + # orig node, spotted itu, spotted cq, spotters itu, spotters cq + # you should be able to route on any of these + # # local processing my $r; @@ -214,9 +221,9 @@ sub normal return if $r; # send orf to the users - if ($spot && $pcno == 11) { + if (@spot && $pcno == 11) { my $buf = Spot::formatb($field[1], $field[2], $d, $text, $spotter); - broadcast_users("$buf\a\a", 'dx', $spot); + broadcast_users("$buf\a\a", 'dx', $spot[0]); } # DON'T be silly and send on PC26s!