summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/EFA/Departure.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-09-29 13:10:33 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-09-29 13:10:33 +0200
commit78cc52fe2fdc06e0560cbe9d6e5e813d5a7d0beb (patch)
treefb48128537ddcf70f8b314620345174ee6eabdd3 /lib/Travel/Status/DE/EFA/Departure.pm
parentfca2187d6d216cc21b0f3690cc38e261cc33fcc4 (diff)
Fix Departure->route_interesting (name_suf does not exist anymore)
Diffstat (limited to 'lib/Travel/Status/DE/EFA/Departure.pm')
-rw-r--r--lib/Travel/Status/DE/EFA/Departure.pm2
1 files changed, 1 insertions, 1 deletions
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
)
{