changeset 3749:cb61f0e06de3

mod_http_muc_log: Fix sorting months It was sorting the wrong table
author Kim Alvefur <zash@zash.se>
date Sun, 17 Nov 2019 15:13:35 +0100
parents 27abf3b6819a
children 9002c8a2165f
files mod_http_muc_log/mod_http_muc_log.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_http_muc_log/mod_http_muc_log.lua	Wed Nov 13 17:57:54 2019 +0100
+++ b/mod_http_muc_log/mod_http_muc_log.lua	Sun Nov 17 15:13:35 2019 +0100
@@ -232,7 +232,7 @@
 				current_day = current_day+1;
 			end
 		end
-		table.sort(year, sort_m);
+		table.sort(months, sort_m);
 	end
 	table.sort(years, sort_Y);