# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1574000015 -3600
# Node ID cb61f0e06de3742cf91072c637a52b7470e710a8
# Parent  27abf3b6819a5f4d02d020e8659506c855bb2b6d
mod_http_muc_log: Fix sorting months

It was sorting the wrong table

diff -r 27abf3b6819a -r cb61f0e06de3 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);