diff -r 3024116d6093 -r c5ee48e27d01 mod_http_muc_log/mod_http_muc_log.lua --- a/mod_http_muc_log/mod_http_muc_log.lua Fri Jul 08 22:37:48 2016 +0200 +++ b/mod_http_muc_log/mod_http_muc_log.lua Fri Jul 08 22:39:41 2016 +0200 @@ -96,7 +96,7 @@ module:log("debug", "Find all dates with messages"); local next_day; repeat - local when = find_once(room, { start = next_day; with = "message