summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-10-19 20:50:53 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2025-10-19 20:50:53 +0200
commitb7568ae8de39dd249c1e3afb11ab785b88d570fe (patch)
treef2a85c1eae6c4314a105fd18b90e786933263b80 /lib
parent97fab51b21bc15d2e7e507cdafaccda52355754d (diff)
DB HAFAS is dead, but we can try to get wagon order etc for ÖBB checkins
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Travelynx.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index a56dca0..5d440dc 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -1229,7 +1229,7 @@ sub startup {
# mustn't be called during a transaction
if ( not $opt{in_transaction} ) {
$self->run_hook( $uid, 'checkin' );
- if ( $opt{hafas} eq 'DB' and $journey->class <= 16 ) {
+ if ( $opt{hafas} eq 'ÖBB' and $journey->class <= 16 ) {
$self->add_wagonorder(
uid => $uid,
train_id => $journey->id,