]> dxcluster.net Git - spider.git/commitdiff
fix dbg warnings on things like $main::me->run_cmd
authorDirk Koopman <djk@tobit.co.uk>
Sun, 26 Apr 2020 10:43:43 +0000 (11:43 +0100)
committerDirk Koopman <djk@tobit.co.uk>
Sun, 26 Apr 2020 10:43:43 +0000 (11:43 +0100)
perl/DXProt.pm

index 1f631120800c42db0de01096540941b08d981d48..25d5501fef9a5342c647f8a42f2c51d0eca5ac90 100644 (file)
@@ -254,6 +254,7 @@ sub init
        $main::me->{version} = $main::version;
        $main::me->{build} = $main::build;
        $main::me->{do_pc9x} = 1;
+       $main::me->{hostname} = $main::clusteraddr;
        $main::me->update_pc92_next($pc92_short_update_period);
        $main::me->update_pc92_keepalive;
 }