summaryrefslogtreecommitdiff
path: root/lib/Travel
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travel')
-rw-r--r--lib/Travel/Status/DE/IRIS/Result.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/IRIS/Result.pm b/lib/Travel/Status/DE/IRIS/Result.pm
index 0438722..042637a 100644
--- a/lib/Travel/Status/DE/IRIS/Result.pm
+++ b/lib/Travel/Status/DE/IRIS/Result.pm
@@ -302,6 +302,9 @@ sub route_interesting {
if ( @via_main and $via_main[-1] eq $last_stop ) {
pop(@via_main);
}
+ if ( @via and $via[-1] eq $last_stop ) {
+ pop(@via);
+ }
if ( @via_main and @via and $via[0] eq $via_main[0] ) {
shift(@via_main);