author | Kim Alvefur <zash@zash.se> |
Tue, 21 Nov 2017 00:48:05 +0100 | |
changeset 2849 | 0de6ed2ae9bd |
parent 2848 | 9fac07bba402 |
child 2850 | 7eb23a4e7fde |
--- a/mod_http_muc_log/mod_http_muc_log.lua Tue Nov 21 00:46:00 2017 +0100 +++ b/mod_http_muc_log/mod_http_muc_log.lua Tue Nov 21 00:48:05 2017 +0100 @@ -245,7 +245,7 @@ elseif lazy then next_when = datetime.date(day_start + 86400); prev_when = datetime.date(day_start - 86400); - else + elseif first and last then module:log("debug", "Find next date with messages"); next_when = find_once(room, { after = last }, 3);