changeset 2829 | d0c4ecabf3f5 |
parent 2825 | e8f0acfdccca |
child 3472 | 228e59bee8ad |
--- a/mod_storage_muc_log/mod_storage_muc_log.lua Wed Nov 15 21:08:53 2017 +0100 +++ b/mod_storage_muc_log/mod_storage_muc_log.lua Wed Nov 15 22:21:14 2017 +0100 @@ -82,7 +82,7 @@ dates[i], i = dir, i+1; end end - if dates[1] == nil then return noop, 0; end + if dates[1] == nil then return nil end table.sort(dates); return dates; end