fixed set/obscount
[spider.git] / perl / DXProt.pm
index e7bda8bc5f5fe9ce82c1b9660813da17d3fea980..af94ecac44a4e0e143e155d0c0987da0d5c20ffd 100644 (file)
@@ -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;