projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add skeletons for new commands Rt, Ping and T.
[spider.git]
/
perl
/
Thingy
/
Dx.pm
diff --git
a/perl/Thingy/Dx.pm
b/perl/Thingy/Dx.pm
index 9b7a181becf7da0cfceece21e28600f1c0935ee9..b711a256aefa0cbff5e6fd509b3d89395425b2d6 100644
(file)
--- a/
perl/Thingy/Dx.pm
+++ b/
perl/Thingy/Dx.pm
@@
-86,7
+86,7
@@
sub gen_DXCommandmode
if ($dxchan->{ve7cc}) {
$buf = VE7CC::dx_spot($dxchan, $thing->{spotdata});
} else {
if ($dxchan->{ve7cc}) {
$buf = VE7CC::dx_spot($dxchan, $thing->{spotdata});
} else {
- $buf =
$dxchan->format_dx_spot(
$thing->{spotdata});
+ $buf =
Spot::format_dx_spot($dxchan,
$thing->{spotdata});
$buf .= "\a\a" if $dxchan->{beep};
$buf =~ s/\%5E/^/g;
}
$buf .= "\a\a" if $dxchan->{beep};
$buf =~ s/\%5E/^/g;
}
@@
-143,10
+143,10
@@
sub out_filter
my $dxchan = shift;
# global spot filtering on INPUT
my $dxchan = shift;
# global spot filtering on INPUT
- if ($dxchan->{
in
spotsfilter}) {
- my ($filter, $hops) = $dxchan->{
in
spotsfilter}->it($thing->{spotdata});
+ if ($dxchan->{spotsfilter}) {
+ my ($filter, $hops) = $dxchan->{spotsfilter}->it($thing->{spotdata});
unless ($filter) {
unless ($filter) {
- dbg("PCPROT: Rejected by
in
put spot filter") if isdbg('chanerr');
+ dbg("PCPROT: Rejected by
out
put spot filter") if isdbg('chanerr');
return;
}
$thing->{hops} = $hops if $hops;
return;
}
$thing->{hops} = $hops if $hops;