projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add PC10 proxying
[spider.git]
/
perl
/
DXProtout.pm
diff --git
a/perl/DXProtout.pm
b/perl/DXProtout.pm
index 4fbb581c08e7ec70cc69bb569b8727a9929630f2..63bc5a3b08a5ba8fbb88abc8b49eaab1dfe2efca 100644
(file)
--- 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 $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
$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;
}
1;