Diff

mod_http_muc_log/mod_http_muc_log.lua @ 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
parent 3722:bdbbf11eac0c
child 3750:9002c8a2165f
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);