X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProtout.pm;h=f01a1481cc0a06681bc3ceccc065809f0c63f20e;hb=7c7080ad7019d6e23a8ad401256122e81fa03a5a;hp=03676089dc33acd5b5072cd973f0babb32258398;hpb=0181f6483fbda8fb02fbae399ed10b8103dec3c2;p=spider.git diff --git a/perl/DXProtout.pm b/perl/DXProtout.pm index 03676089..f01a1481 100644 --- a/perl/DXProtout.pm +++ b/perl/DXProtout.pm @@ -11,7 +11,7 @@ package DXProt; -@ISA = qw(DXProt DXChannel); +@ISA = qw(DXChannel); use DXUtil; use DXM; @@ -385,7 +385,7 @@ sub _gen_pc92 } for (@_) { $s .= '^' . _encode_pc92_call($_, $ext); - $ext = 0; # only the first slot has an ext. + $ext = 0 unless $sort eq 'A'; # only the first slot has an ext. } return $s . '^H99^'; } @@ -410,7 +410,7 @@ sub gen_pc92_with_time # add a local one sub pc92a { - return _gen_pc92('A', 0, @_); + return _gen_pc92('A', 2, @_); } # delete a local one