projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
alias 'w' to 'who'
[spider.git]
/
perl
/
DXProtout.pm
diff --git
a/perl/DXProtout.pm
b/perl/DXProtout.pm
index 8edc0831eb327df41a1f81ea1655953b48142dee..a2b69a67a9f4dfbba796dfaa5c17e7dde67aa184 100644
(file)
--- a/
perl/DXProtout.pm
+++ b/
perl/DXProtout.pm
@@
-32,7
+32,7
@@
$main::branch += $BRANCH;
# create a talk string ($from, $to, $via, $text)
sub pc10
{
# create a talk string ($from, $to, $via, $text)
sub pc10
{
- my ($from, $to, $via, $text) = @_;
+ my ($from, $to, $via, $text
, $origin
) = @_;
my ($user1, $user2);
if ($via && $via ne $to) {
$user1 = $via;
my ($user1, $user2);
if ($via && $via ne $to) {
$user1 = $via;
@@
-41,10
+41,11
@@
sub pc10
$user2 = ' ';
$user1 = $to;
}
$user2 = ' ';
$user1 = $to;
}
+ $origin ||= $main::mycall;
$text = unpad($text);
$text = ' ' unless $text && length $text > 0;
$text =~ s/\^/%5E/g;
$text = unpad($text);
$text = ' ' unless $text && length $text > 0;
$text =~ s/\^/%5E/g;
- return "PC10^$from^$user1^$text^*^$user2^$
main::mycall
^~";
+ return "PC10^$from^$user1^$text^*^$user2^$
origin
^~";
}
# create a dx message (call, freq, dxcall, text)
}
# create a dx message (call, freq, dxcall, text)