summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.pl b/index.pl
index 3c2c305..a4dea51 100644
--- a/index.pl
+++ b/index.pl
@@ -435,11 +435,12 @@ sub handle_request {
else {
$info = $result->info;
if ($info) {
- $moreinfo = [ [ 'RIS', $info ] ];
+ $moreinfo = [ [ 'HAFAS', $info ] ];
}
if ( $result->delay and $result->delay > 0 ) {
$info = 'ca. +' . $result->delay . ': ' . $info;
}
+ push( @{$moreinfo}, map { [ 'HAFAS', $_ ] } $result->messages );
}
my $time = $result->time;
@@ -658,7 +659,6 @@ sub handle_request {
canceled_stops => [],
replaced_by => [],
replacement_for => [],
- route_info => [ $result->messages ],
}
);
}