diff options
author | Kim Alvefur <zash@zash.se> | 2023-06-18 16:48:56 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-06-18 16:48:56 +0200 |
commit | af2cf5f188a2bf62da97453f0d21e282f7f67985 (patch) | |
tree | 72d197ff9525742da98532f48a6ac0ad3b3cd261 /plugins | |
parent | 597f3c7f0aa39c347dad671cf682742b4d40a914 (diff) | |
download | prosody-af2cf5f188a2bf62da97453f0d21e282f7f67985.tar.gz prosody-af2cf5f188a2bf62da97453f0d21e282f7f67985.zip |
renamening: Fix newly added imports to use the new namespace
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_http.lua | 2 | ||||
-rw-r--r-- | plugins/mod_mam/mod_mam.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_http.lua b/plugins/mod_http.lua index b52f4b44..3889d62b 100644 --- a/plugins/mod_http.lua +++ b/plugins/mod_http.lua @@ -18,7 +18,7 @@ local url_build = require "socket.url".build; local http_util = require "prosody.util.http"; local normalize_path = http_util.normalize_path; local set = require "prosody.util.set"; -local array = require "util.array"; +local array = require "prosody.util.array"; local ip_util = require "prosody.util.ip"; local new_ip = ip_util.new_ip; 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" }); |