]> dxcluster.net Git - spider.git/commitdiff
kludge version in pc19
authorminima <minima>
Fri, 11 Mar 2005 18:24:47 +0000 (18:24 +0000)
committerminima <minima>
Fri, 11 Mar 2005 18:24:47 +0000 (18:24 +0000)
perl/DXProtout.pm

index 3439b01da2881044439c75d0549a53c631ca7fba..508710d0ce5994dcb26b4b1a38f000ce9926b265 100644 (file)
@@ -143,6 +143,7 @@ sub pc19
                my $version = $ref->version || 5401;
                $version = 5300 + int($version*100) if $version < 2;
                $version = 5252 + int($version*100) if $version < 3;
+               $version =~ s/\.\d+$//; # kludge
                my $str = "^$here^$call^$conf^$version";
                if (length($s) + length($str) > $sentencelth) {
                        push @out, "PC19" . $s . sprintf "^%s^", get_hops(19);