diff options
author | Kim Alvefur <zash@zash.se> | 2023-03-24 13:15:28 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-03-24 13:15:28 +0100 |
commit | 98922d54b12086c9e71c55dcb9c766d584522552 (patch) | |
tree | 70ab8d93827b088e4585a59e9fc2493c33c0deda /plugins/mod_presence.lua | |
parent | 8136aa749a76e4fbb5b7e3cc34c878733647b8e9 (diff) | |
download | prosody-98922d54b12086c9e71c55dcb9c766d584522552.tar.gz prosody-98922d54b12086c9e71c55dcb9c766d584522552.zip |
plugins: Prefix module imports with prosody namespace
Diffstat (limited to 'plugins/mod_presence.lua')
-rw-r--r-- | plugins/mod_presence.lua | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/mod_presence.lua b/plugins/mod_presence.lua index 3f9a0c12..f939fa00 100644 --- a/plugins/mod_presence.lua +++ b/plugins/mod_presence.lua @@ -15,19 +15,19 @@ local tonumber = tonumber; local core_post_stanza = prosody.core_post_stanza; local core_process_stanza = prosody.core_process_stanza; -local st = require "util.stanza"; -local jid_split = require "util.jid".split; -local jid_bare = require "util.jid".bare; -local datetime = require "util.datetime"; +local st = require "prosody.util.stanza"; +local jid_split = require "prosody.util.jid".split; +local jid_bare = require "prosody.util.jid".bare; +local datetime = require "prosody.util.datetime"; local hosts = prosody.hosts; local bare_sessions = prosody.bare_sessions; local full_sessions = prosody.full_sessions; local NULL = {}; -local rostermanager = require "core.rostermanager"; -local sessionmanager = require "core.sessionmanager"; +local rostermanager = require "prosody.core.rostermanager"; +local sessionmanager = require "prosody.core.sessionmanager"; -local recalc_resource_map = require "util.presence".recalc_resource_map; +local recalc_resource_map = require "prosody.util.presence".recalc_resource_map; local ignore_presence_priority = module:get_option_boolean("ignore_presence_priority", false); |