diff options
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} ) { |