From 78cc52fe2fdc06e0560cbe9d6e5e813d5a7d0beb Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 29 Sep 2024 13:10:33 +0200 Subject: Fix Departure->route_interesting (name_suf does not exist anymore) --- lib/Travel/Status/DE/EFA/Departure.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Travel/Status/DE/EFA/Departure.pm') diff --git a/lib/Travel/Status/DE/EFA/Departure.pm b/lib/Travel/Status/DE/EFA/Departure.pm index 1ae4120..8711c86 100644 --- a/lib/Travel/Status/DE/EFA/Departure.pm +++ b/lib/Travel/Status/DE/EFA/Departure.pm @@ -197,7 +197,7 @@ sub route_interesting { for my $stop (@via) { if ( - $stop->name_suf =~ m{ Bf | Hbf | Flughafen | Hauptbahnhof + $stop->name =~ m{ Bf | Hbf | Flughafen | [Bb]ahnhof | Krankenhaus | Klinik | (?: S $ ) }ox ) { -- cgit v1.2.3