summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Helper/HAFAS.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-09-06 12:41:36 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-09-06 12:55:25 +0200
commit4171fe22cadca8e1e61bc95595e4bcc1728e96bb (patch)
treec3ff72ecd34e5366fd11e0d195b12c474f1067ce /lib/Travelynx/Helper/HAFAS.pm
parenta3149adddd77d2d9d35d08d24b38dca02eff00cb (diff)
add DBDB helper for wagonorder and stationinfo
Diffstat (limited to 'lib/Travelynx/Helper/HAFAS.pm')
-rw-r--r--lib/Travelynx/Helper/HAFAS.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Travelynx/Helper/HAFAS.pm b/lib/Travelynx/Helper/HAFAS.pm
index 98719c1..572f8fa 100644
--- a/lib/Travelynx/Helper/HAFAS.pm
+++ b/lib/Travelynx/Helper/HAFAS.pm
@@ -17,7 +17,8 @@ sub new {
$opt{header}
= { 'User-Agent' =>
- "travelynx/${version} +https://finalrewind.org/projects/travelynx" };
+"travelynx/${version} on $opt{root_url} +https://finalrewind.org/projects/travelynx"
+ };
return bless( \%opt, $class );
}