summaryrefslogtreecommitdiff
path: root/lib/Travel
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-10-07 20:14:14 +0200
committerDaniel Friesel <derf@finalrewind.org>2016-10-07 20:14:14 +0200
commit4676dba038d065e465dd176776e59576da9ec2e4 (patch)
tree3c13e888d72b17558b469612888c0b2469098920 /lib/Travel
parent3606527d76149fe59af960b7e2ab1d37a4be74f3 (diff)
pass cache to newly created children. derp.
Diffstat (limited to 'lib/Travel')
-rw-r--r--lib/Travel/Status/DE/IRIS.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/IRIS.pm b/lib/Travel/Status/DE/IRIS.pm
index e8a39c6..d6429f9 100644
--- a/lib/Travel/Status/DE/IRIS.pm
+++ b/lib/Travel/Status/DE/IRIS.pm
@@ -69,6 +69,8 @@ sub new {
developer_mode => $self->{developer_mode},
lookahead => $self->{lookahead},
station => $ref->{uic},
+ main_cache => $self->{main_cache},
+ rt_cache => $self->{rt_cache},
with_related => 0,
);
if ( not $ref_status->errstr ) {