summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-03-17 18:46:23 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-03-17 18:46:23 +0100
commit842fcbcea9e8642fa4a954c079b3f5d8f073f565 (patch)
treea70fd9d58313b5ccfd1440b4d622c5add9b5bc78 /index.pl
parentb15d3456ac1201afcfecb5771e34d0b6d94d7ce9 (diff)
get_user_travels: Fix message order
Diffstat (limited to 'index.pl')
-rwxr-xr-xindex.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.pl b/index.pl
index 21fcc07..95f42c8 100755
--- a/index.pl
+++ b/index.pl
@@ -866,7 +866,7 @@ helper 'get_user_travels' => sub {
my ( $ts, $msg ) = split( qr{:}, $message );
push( @parsed_messages, [ epoch_to_dt($ts), $msg ] );
}
- $ref->{messages} = [@parsed_messages];
+ $ref->{messages} = [ reverse @parsed_messages ];
}
}
$prev_action = $action;