author | Kim Alvefur <zash@zash.se> |
Sat, 21 Jan 2023 17:24:45 +0100 | |
changeset 12865 | 57e86d537ffe |
parent 12864 | 38b3cd292ee5 |
child 12868 | 9f9633364044 |
--- a/plugins/mod_muc_mam.lua Sat Jan 21 17:18:16 2023 +0100 +++ b/plugins/mod_muc_mam.lua Sat Jan 21 17:24:45 2023 +0100 @@ -29,7 +29,7 @@ local is_stanza = st.is_stanza; local tostring = tostring; -local time_now = os.time; +local time_now = require "util.time".now; local m_min = math.min; local timestamp, datestamp = import("util.datetime", "datetime", "date"); local default_max_items, max_max_items = 20, module:get_option_number("max_archive_query_results", 50);