projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix split on simple words so that it splits on word boundaries
[spider.git]
/
perl
/
DXProt.pm
diff --git
a/perl/DXProt.pm
b/perl/DXProt.pm
index 2bfd66865c6eac1e2e6808e2bab7e2c423b4ebc0..16c91803950701bfccd329de119a87208aa66dc7 100644
(file)
--- a/
perl/DXProt.pm
+++ b/
perl/DXProt.pm
@@
-1578,13
+1578,13
@@
sub process
# send a ping out on this channel
if ($dxchan->{pingint} && $t >= $dxchan->{pingint} + $dxchan->{lastping}) {
# send a ping out on this channel
if ($dxchan->{pingint} && $t >= $dxchan->{pingint} + $dxchan->{lastping}) {
-
#
if ($dxchan->{nopings} <= 0) {
-
#
$dxchan->disconnect;
-
#
} else {
+
if ($dxchan->{nopings} <= 0) {
+
$dxchan->disconnect;
+
} else {
addping($main::mycall, $dxchan->call);
$dxchan->{nopings} -= 1;
$dxchan->{lastping} = $t;
addping($main::mycall, $dxchan->call);
$dxchan->{nopings} -= 1;
$dxchan->{lastping} = $t;
-
#
}
+
}
}
}
}
}
@@
-2415,7
+2415,6
@@
sub import_chat
my $name;
foreach $name (@names) {
next if $name =~ /^\./;
my $name;
foreach $name (@names) {
next if $name =~ /^\./;
- my $splitit = $name =~ /^split/;
my $fn = "$chatimportfn/$name";
next unless -f $fn;
unless (open(MSG, $fn)) {
my $fn = "$chatimportfn/$name";
next unless -f $fn;
unless (open(MSG, $fn)) {