projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ab568d6
)
allow talks to mycall to go to myalias instead
author
djk
<djk>
Mon, 30 Nov 1998 15:28:31 +0000
(15:28 +0000)
committer
djk
<djk>
Mon, 30 Nov 1998 15:28:31 +0000
(15:28 +0000)
perl/DXProt.pm
patch
|
blob
|
history
diff --git
a/perl/DXProt.pm
b/perl/DXProt.pm
index 58dfd4973877731827c87d9695274917f0b3f13c..b8b9b892d47397d42937608114e6b8a0965c6f71 100644
(file)
--- a/
perl/DXProt.pm
+++ b/
perl/DXProt.pm
@@
-104,9
+104,10
@@
sub normal
# yes, it is
my $text = unpad($field[3]);
# yes, it is
my $text = unpad($field[3]);
+ Log('talk', $call, $field[1], $field[6], $text);
+ $call = $main::myalias if $call eq $main::mycall;
my $ref = DXChannel->get($call);
$ref->send("$call de $field[1]: $text") if $ref;
my $ref = DXChannel->get($call);
$ref->send("$call de $field[1]: $text") if $ref;
- Log('talk', $call, $field[1], $field[6], $text);
} else {
route($field[2], $line); # relay it on its way
}
} else {
route($field[2], $line); # relay it on its way
}