add the H in front of the hops!!!
[spider.git] / perl / Thingy / Dx.pm
index aa7322ed12c1a6a4e9e2bc03b6bd2176372f833b..596f5933abfbc3326caa2ca8dca6667c25b58ef1 100644 (file)
@@ -69,7 +69,7 @@ sub gen_DXProt
                my $text = $sd->[3] || ' ';
                $text =~ s/\^/\%5E/g;
                my $t = $sd->[2];
-               $thing->{DXProt} = sprintf "PC11^%.1f^$sd->[1]^%s^%s^%s^$sd->[4]^$sd->[7]^$hops^~", $sd->[0], cldate($t), ztime($t), $text;
+               $thing->{DXProt} = sprintf "PC11^%.1f^$sd->[1]^%s^%s^%s^$sd->[4]^$sd->[7]^H$hops^~", $sd->[0], cldate($t), ztime($t), $text;
        }
        return $thing->{DXProt};
 }
@@ -110,7 +110,7 @@ sub handle
        my $dxchan = shift;
 
        my $spot = $thing->{spotdata};
-       if (Spot::dup(@$spot[0..4])) {
+       if (Spot::dup(@$spot[0..4,5])) {
                dbg("PCPROT: Duplicate Spot ignored\n") if isdbg('chanerr');
                return;
        }