summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-10-03 22:08:14 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-10-03 22:08:14 +0200
commitad2180577a226ae6156551de4216941f2a5390ca (patch)
tree9cc6326a0519e92a63d6c59188e824578784fe40 /lib
parentb52cc3290bdc317624d74dcb7d3d83f493a4a316 (diff)
is_important: extend matches for hafas/efa (local transit) backends
Diffstat (limited to 'lib')
-rw-r--r--lib/DBInfoscreen.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm
index d5ed88f..98e733b 100644
--- a/lib/DBInfoscreen.pm
+++ b/lib/DBInfoscreen.pm
@@ -178,6 +178,11 @@ sub startup {
{
return 1;
}
+ if ( ( $self->param('hafas') or $self->param('efa') )
+ and $stop =~ m{ [Bb]ahnhof | Bf }x )
+ {
+ return 1;
+ }
return;
}
);