X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FInvestigate.pm;h=b7234b74208432c65101c9697af4a0c7072ad164;hb=a9072bdb10a67ad28edda787cbf38018356b2db5;hp=e1cb9b2801c46e72d41b4527563689b0b98b2e1a;hpb=eb4918707eb5fa97782c3c15aafdbc8cce44d446;p=spider.git diff --git a/perl/Investigate.pm b/perl/Investigate.pm index e1cb9b28..b7234b74 100644 --- a/perl/Investigate.pm +++ b/perl/Investigate.pm @@ -20,12 +20,9 @@ package Investigate; use DXDebug; use DXUtil; - use vars qw($VERSION $BRANCH); -$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ ); -$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ || (0,0)); -$main::build += $VERSION; -$main::branch += $BRANCH; + +main::mkver($VERSION = q$Revision$); use vars qw (%list %valid $pingint $maxpingwait); @@ -95,7 +92,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}}) {