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 | |
parent | 57f3f4da23fa0785e7d5fdd16a0d882a2ea2efc2 (diff) |
route_interesting: also consider airports
-rw-r--r-- | Changelog | 1 | ||||
-rw-r--r-- | lib/Travel/Status/DE/IRIS/Result.pm | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ git HEAD * IRIS->new: Fix default lwp_options value (was documented, but not used) + * Result->route_interesting: Also consider airports Travel::Status::DE::IRIS 1.00 - Fri May 01 2015 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 ); } } |