diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index 7b87b99..e4dc5b4 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -568,7 +568,6 @@ sub startup { } if ( not( defined $train or $force ) ) { - $self->run_hook( $uid, 'update' ); # Arrival time via IRIS is unknown, try falling back to HAFAS if ( my $station_data @@ -594,6 +593,7 @@ sub startup { ); } } + $self->run_hook( $uid, 'update' ); return ( 1, undef ); }