summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-xlib/Travelynx.pm2
1 files changed, 1 insertions, 1 deletions
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 );
}