fix badspotters and local ann/full.
[spider.git] / perl / Investigate.pm
index e1cb9b2801c46e72d41b4527563689b0b98b2e1a..811d6380386f5ede159e0aac4b7c4b3ba0f54f09 100644 (file)
@@ -95,7 +95,7 @@ sub handle_ping
                        $user->set_believe($self->{call});
                        $user->put;
                }
-               my $dxchan = DXChannel->get($self->{via});
+               my $dxchan = DXChannel::get($self->{via});
                if ($dxchan) {
                        dbg("Investigate: sending PC19 for $self->{call}") if isdbg('investigate');
                        foreach my $pc (@{$self->{pcxx}}) {
@@ -124,7 +124,7 @@ sub process
                if ($v->{state} eq 'start') {
                        my $via = $via{$v->{via}} || 0;
                        if ($main::systime > $via+$pingint) {
-                               DXProt::addping($main::mycall, $v->{call}, $v->{via});
+                               DXXml::Ping::add($main::me, $v->{call}, $v->{via});
                                $v->{start} = $lastping = $main::systime;
                                dbg("Investigate: ping sent to $v->{call} via $v->{via}") if isdbg('investigate');
                                $v->chgstate('waitping');