summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-11-11 09:24:14 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2023-11-11 09:24:14 +0100
commitaa578db38d1f630b848c1aabd62a76ed1890f061 (patch)
tree0bcaeb18f9cab9817acba66fceced3a189a67a8b /bin
parent11654b75cd48a0a96a7cecd24b0c10fe324bc687 (diff)
bin/hafas: Use Routing get_services, not Status
Diffstat (limited to 'bin')
-rwxr-xr-xbin/hafas2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hafas b/bin/hafas
index 7f8c289..c2a5a02 100755
--- a/bin/hafas
+++ b/bin/hafas
@@ -148,7 +148,7 @@ sub parse_mot_options {
for my $type ( split( qr{,}, $types ) ) {
if ( $type eq 'help' or $type eq 'list' or $type eq q{?} ) {
$service //= 'DB';
- my $desc = Travel::Status::DE::HAFAS::get_service($service);
+ my $desc = Travel::Routing::DE::HAFAS::get_service($service);
if ($desc) {
my @mots = @{ $desc->{productbits} };
@mots = grep { $_ ne 'x' } @mots;