]> dxcluster.net Git - spider.git/commitdiff
fix another possible(?) error on broadcast p92 update
authorDirk Koopman <djk@tobit.co.uk>
Thu, 12 Jul 2007 20:53:28 +0000 (21:53 +0100)
committerDirk Koopman <djk@tobit.co.uk>
Thu, 12 Jul 2007 20:53:28 +0000 (21:53 +0100)
perl/DXProt.pm
perl/Version.pm

index ea41c08317e98bb1477d7ecaa6213b01c7bc7140..e4e0aa49db77409adf7ee3cb097dffbf492f2ec7 100644 (file)
@@ -893,6 +893,10 @@ sub broadcast_pc92_update
        dbg("ROUTE: broadcast_pc92_update $call") if isdbg('obscount');
 
        my $nref = Route::Node::get($call);
+       unless ($nref) {
+               dbg("ERROR: broadcast_pc92_update - Route::Node $call disappeared");
+               return;
+       }
        my $l = $nref->last_PC92C(gen_my_pc92_config($nref));
        $main::me->broadcast_route_pc9x($main::mycall, undef, $l, 0);
        $self->update_pc92_next($pc92_update_period);
index 141b473a942f32a9fb9488dd264ec61cac5b6376..479b37a2ae20c2798aab5c0d6ab4be21d2c09b53 100644 (file)
@@ -11,6 +11,6 @@ use vars qw($version $subversion $build);
 
 $version = '1.54';
 $subversion = '0';
-$build = '117';
+$build = '118';
 
 1;