mod_http_muc_log: Fix sorting months
authorKim Alvefur <zash@zash.se>
Sun, 17 Nov 2019 15:13:35 +0100
changeset 3753 cb61f0e06de3
parent 3752 27abf3b6819a
child 3754 9002c8a2165f
mod_http_muc_log: Fix sorting months It was sorting the wrong table
mod_http_muc_log/mod_http_muc_log.lua
--- 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);