X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProtout.pm;h=63bc5a3b08a5ba8fbb88abc8b49eaab1dfe2efca;hb=57c9c65161ea49fee9d6f22be329f2faa490a46f;hp=4fbb581c08e7ec70cc69bb569b8727a9929630f2;hpb=1f326ccd6a0755084deb30eb569dc6251a07d407;p=spider.git diff --git a/perl/DXProtout.pm b/perl/DXProtout.pm index 4fbb581c..63bc5a3b 100644 --- a/perl/DXProtout.pm +++ b/perl/DXProtout.pm @@ -423,9 +423,14 @@ sub pc93 my $from = shift; # from user callsign my $via = shift || '*'; # *, node call my $line = shift; # the text + my $origin = shift; # this will be present on proxying from PC10 + $line = unpad($line); $line =~ s/\^/\\5E/g; # remove any ^ characters - return "PC93^$main::mycall^" . gen_pc9x_t() . "^$to^$from^$via^$line^H99^"; + my $s = "PC93^$main::mycall^" . gen_pc9x_t() . "^$to^$from^$via^$line"; + $s .= "^$origin" if $origin; + $s .= "^H99^"; + return $s; } 1;