X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProt.pm;h=af94ecac44a4e0e143e155d0c0987da0d5c20ffd;hb=e9c1322080e18fb8f6f3f0e54bfcbdf3f4da3909;hp=e7bda8bc5f5fe9ce82c1b9660813da17d3fea980;hpb=428a80fedd633d9dd4527c786064f1677e482592;p=spider.git diff --git a/perl/DXProt.pm b/perl/DXProt.pm index e7bda8bc..af94ecac 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -956,7 +956,7 @@ sub normal $dxchan->send($dxchan->msg('pingi', $field[2], $s, $ave)) } elsif ($dxchan->is_node) { if ($tochan) { - $tochan->{nopings} = 2; # pump up the timer + $tochan->{nopings} = $tochan->user->nopings || 2; # pump up the timer push @{$tochan->{pingtime}}, $t; shift @{$tochan->{pingtime}} if @{$tochan->{pingtime}} > 6; my $st;