]> www.dxcluster.org Git - spider.git/commitdiff
use the correct cf_interval
authorminima <minima>
Wed, 23 Feb 2005 23:10:23 +0000 (23:10 +0000)
committerminima <minima>
Wed, 23 Feb 2005 23:10:23 +0000 (23:10 +0000)
perl/Aranea.pm

index 5663b80adc89a337ffe779557f5752fbf32e84b1..a82c53c1ece032b2664b0f10c6fe0bd1a09bd541 100644 (file)
@@ -173,13 +173,13 @@ sub per_minute
        foreach my $dxchan (DXChannel::get_all()) {
                next if $dxchan == $main::me;
                next if $dxchan->is_aranea;
-               if ($main::systime > $dxchan->lasthello + $hello_interval) {
+               if ($main::systime >= $dxchan->lasthello + $hello_interval) {
                        my $thing = Thingy::Hello->new(user => $dxchan->call, h => $dxchan->here);
                        $thing->broadcast($dxchan);
                        $dxchan->lasthello($main::systime);
                }
                if ($dxchan->is_node) {
-                       if ($main::systime > $dxchan->lasthello + $hello_interval) {
+                       if ($main::systime >= $dxchan->lastcf + $cf_interval) {
                                my $call = $dxchan->call;
                                my $thing = Thingy::Rt->new(user => $call);
                                if (my $nref = Route::Node::get($call)) {