X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FThingy%2FDx.pm;h=feab1b94c83f93295d82b03beed5a9faf61ad445;hb=f942dabdab73e5841f16ead2a41a52d6b5b05eb8;hp=aa7322ed12c1a6a4e9e2bc03b6bd2176372f833b;hpb=9cb17cdc59baad6fd8d175ec9a644575cdc8c5d5;p=spider.git diff --git a/perl/Thingy/Dx.pm b/perl/Thingy/Dx.pm index aa7322ed..feab1b94 100644 --- a/perl/Thingy/Dx.pm +++ b/perl/Thingy/Dx.pm @@ -66,6 +66,7 @@ sub gen_DXProt unless ($thing->{DXProt}) { my $sd = $thing->{spotdata}; my $hops = $thing->{hops} || DXProt::get_hops(11); + $hops = "H$hops" unless $hops =~ /^H/; my $text = $sd->[3] || ' '; $text =~ s/\^/\%5E/g; my $t = $sd->[2]; @@ -110,7 +111,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; }