diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-01-08 18:29:21 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-01-08 18:29:21 +0100 |
commit | 3b712427964d187605ea114d15852cb1c0978648 (patch) | |
tree | 306765a20c842f0e984dda1fd9f2e49458ec5288 /lib/Travel/Status | |
parent | 79d3d039567fbf37e66015efc4a973ba9e8ca272 (diff) |
Drop default service; warn and fall back to ÖBB in hafas-m
Diffstat (limited to 'lib/Travel/Status')
-rw-r--r-- | lib/Travel/Status/DE/HAFAS.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm index e71e9f0..c2f05e5 100644 --- a/lib/Travel/Status/DE/HAFAS.pm +++ b/lib/Travel/Status/DE/HAFAS.pm @@ -60,7 +60,7 @@ sub new { } if ( not defined $service ) { - $service = $conf{service} = 'DB'; + confess("You must specify a service"); } if ( defined $service and not exists $hafas_instance->{$service} ) { |