summaryrefslogtreecommitdiff
path: root/bin/hafas-m
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-11-19 12:24:29 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2023-11-19 12:24:29 +0100
commite89312355b7ca9f20c2ede319e76f1970e5c932e (patch)
treee9d98acd13d3c2fa7d9c7009c5d7b10185b58a9b /bin/hafas-m
parentf9678526018e4b31e25a3d8435a5ffd60e0ebe4d (diff)
Move location-specific data and accessors to ...::HAFAS::Location
This is a breaking change that affects the accessors of ...::Stop and the return type of $hafas->results in locationSearch and geoSearch mode
Diffstat (limited to 'bin/hafas-m')
-rwxr-xr-xbin/hafas-m2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hafas-m b/bin/hafas-m
index ff13932..fb1f71b 100755
--- a/bin/hafas-m
+++ b/bin/hafas-m
@@ -323,7 +323,7 @@ elsif ( $opt{journey} ) {
$stop->delay ? sprintf( '(%+d)', $stop->delay ) : q{},
display_occupancy( $stop->load->{FIRST} ),
display_occupancy( $stop->load->{SECOND} ),
- $stop->name,
+ $stop->loc->name,
$stop->direction ? sprintf( ' → %s', $stop->direction ) : q{}
);
}