summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Travel/Status/DE/DBRIS/Location.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/DBRIS/Location.pm b/lib/Travel/Status/DE/DBRIS/Location.pm
index 580291f..7d59fc2 100644
--- a/lib/Travel/Status/DE/DBRIS/Location.pm
+++ b/lib/Travel/Status/DE/DBRIS/Location.pm
@@ -97,6 +97,9 @@ sub new {
if ( $message->{type} and $message->{type} eq 'HALT_AUSFALL' ) {
$ref->{is_cancelled} = 1;
}
+ elsif ( $message->{text} and $message->{text} eq 'Zusatzhalt' ) {
+ $ref->{is_additional} = 1;
+ }
push( @{ $ref->{messages} }, $message );
}