summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Controller
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-07-04 14:28:58 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-07-04 14:28:58 +0200
commit83b2225a4d78eb948a1bc5841c676c97e78f414f (patch)
tree4d49b46c7188e1311c66ffbedd9659c926042dee /lib/DBInfoscreen/Controller
parent7ed47bec3b016cbd608aaea64687a1b919615670 (diff)
stationboard: extend external DS100 prefix list
Diffstat (limited to 'lib/DBInfoscreen/Controller')
-rw-r--r--lib/DBInfoscreen/Controller/Stationboard.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm
index 0bf1895..c01d299 100644
--- a/lib/DBInfoscreen/Controller/Stationboard.pm
+++ b/lib/DBInfoscreen/Controller/Stationboard.pm
@@ -49,7 +49,8 @@ sub handle_no_results {
);
return;
}
- if ( $data->{station_ds100} and $data->{station_ds100} =~ m{ ^ [XYZ] }x ) {
+ if ( $data->{station_ds100} and $data->{station_ds100} =~ m{ ^ [OPQXYZ] }x )
+ {
$self->render(
'landingpage',
error => ( $errstr // "Keine Abfahrten an '$station'" )