diff options
-rwxr-xr-x | lib/Travelynx.pm | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index f6e47a3..d04171e 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -1072,13 +1072,15 @@ sub startup { my @messages; for my $m ( $journey->messages ) { - push( - @messages, - { - header => $m->short, - lead => $m->text, - } - ); + if ( not $m->code ) { + push( + @messages, + { + header => $m->short, + lead => $m->text, + } + ); + } } $self->in_transit->set_route_data( |