make sure that pc92 C records are sent on init with last received time
[spider.git] / perl / DXProtout.pm
index 1533c2b45887ed2cdb1bac8208db926599e42f29..0ba94dc634c5789f0b4f35c3b46489d60e944091 100644 (file)
@@ -404,6 +404,19 @@ sub _gen_pc92
        return $s . '^H99^';
 }
 
+sub gen_pc92_with_time
+{
+       my $call = shift;
+       my $sort = shift;
+       my $t = shift;
+       my $ext = 1;
+       my $s = "PC92^$call^$t^$sort";
+       for (@_) {
+               $s .= "^" . _encode_pc92_call($_, $ext);
+       }
+       return $s . '^H99^';
+}
+
 # add a local one
 sub pc92a
 {