diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-05-08 14:09:37 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-05-08 14:09:37 +0200 |
commit | 7e0e9260c64432ca40527221ff6b42bc5c376126 (patch) | |
tree | 998f4fa4e59cfe91f645572f72d147d761af434e /lib/Travel | |
parent | 57f3f4da23fa0785e7d5fdd16a0d882a2ea2efc2 (diff) |
route_interesting: also consider airports
Diffstat (limited to 'lib/Travel')
-rw-r--r-- | lib/Travel/Status/DE/IRIS/Result.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/IRIS/Result.pm b/lib/Travel/Status/DE/IRIS/Result.pm index 7998a1f..390b3c4 100644 --- a/lib/Travel/Status/DE/IRIS/Result.pm +++ b/lib/Travel/Status/DE/IRIS/Result.pm @@ -633,7 +633,7 @@ sub route_interesting { $max_parts //= 3; for my $stop (@via) { - if ( $stop =~ m{ ?Hbf}o ) { + if ( $stop =~ m{ Hbf | Flughafen }ox ) { push( @via_main, $stop ); } } |