]> dxcluster.org Git - spider.git/commitdiff
fix pc19 version nos
authorminima <minima>
Sun, 20 Feb 2005 23:18:52 +0000 (23:18 +0000)
committerminima <minima>
Sun, 20 Feb 2005 23:18:52 +0000 (23:18 +0000)
perl/DXProtout.pm

index 0e12aa10cfe587e89dccab7a9a539c6966ce37c0..5edb4a4138358b63bd68b118d16c4b0ac5196348 100644 (file)
@@ -141,6 +141,8 @@ sub pc19
                my $here = $ref->here;
                my $conf = $ref->conf;
                my $version = $ref->version;
+               $version = 5300 * int($version*100) if $version < 2;
+               $version = 5250 * int($version*100) if $version < 3;
                my $str = "^$here^$call^$conf^$version";
                if (length($s) + length($str) > $sentencelth) {
                        push @out, "PC19" . $s . sprintf "^%s^", get_hops(19);