]> dxcluster.org Git - spider.git/commitdiff
reset obs count on node route on new() (we must have seen it after all)!
authorminima <minima>
Sun, 14 Jan 2007 20:43:10 +0000 (20:43 +0000)
committerminima <minima>
Sun, 14 Jan 2007 20:43:10 +0000 (20:43 +0000)
perl/Route/Node.pm

index 00e410713354bfde7db1f7a909144a86be0ca070..514f0c0e5f9157ea10dd76da7ed6e0db896e0cd0 100644 (file)
@@ -246,6 +246,7 @@ sub new
        $self->{users} = [];
        $self->{nodes} = [];
        $self->{lastid} = {};
+       $self->reset_obs;                       # by definition
        
        $list{$call} = $self;