aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_mam
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-06-18 16:48:56 +0200
committerKim Alvefur <zash@zash.se>2023-06-18 16:48:56 +0200
commitaf2cf5f188a2bf62da97453f0d21e282f7f67985 (patch)
tree72d197ff9525742da98532f48a6ac0ad3b3cd261 /plugins/mod_mam
parent597f3c7f0aa39c347dad671cf682742b4d40a914 (diff)
downloadprosody-af2cf5f188a2bf62da97453f0d21e282f7f67985.tar.gz
prosody-af2cf5f188a2bf62da97453f0d21e282f7f67985.zip
renamening: Fix newly added imports to use the new namespace
Diffstat (limited to 'plugins/mod_mam')
-rw-r--r--plugins/mod_mam/mod_mam.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua
index ea9de2a7..080eb283 100644
--- a/plugins/mod_mam/mod_mam.lua
+++ b/plugins/mod_mam/mod_mam.lua
@@ -37,7 +37,7 @@ local tostring = tostring;
local time_now = require "prosody.util.time".now;
local m_min = math.min;
local timestamp, datestamp = import( "util.datetime", "datetime", "date");
-local parse_duration = require "util.human.io".parse_duration;
+local parse_duration = require "prosody.util.human.io".parse_duration;
local default_max_items, max_max_items = 20, module:get_option_number("max_archive_query_results", 50);
local strip_tags = module:get_option_set("dont_archive_namespaces", { "http://jabber.org/protocol/chatstates" });