author | Kim Alvefur <zash@zash.se> |
Wed, 15 Nov 2017 22:21:14 +0100 | |
changeset 2829 | d0c4ecabf3f5 |
parent 2828 | e4b04c0c4b15 |
child 2830 | ed26608920d4 |
--- 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