aboutsummaryrefslogtreecommitdiffstats
path: root/core/stanza_router.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-03-17 16:23:07 +0100
committerKim Alvefur <zash@zash.se>2023-03-17 16:23:07 +0100
commitd47a7bb3bde921168e40a27cb2d0fc847c63167e (patch)
treeb05560972fc7a17a005df06aed1ca1c8e5086c66 /core/stanza_router.lua
parent9c63ae60fdc89ced9434487d3f298576e86e42a2 (diff)
downloadprosody-d47a7bb3bde921168e40a27cb2d0fc847c63167e.tar.gz
prosody-d47a7bb3bde921168e40a27cb2d0fc847c63167e.zip
core: Prefix module imports with prosody namespace
Diffstat (limited to 'core/stanza_router.lua')
-rw-r--r--core/stanza_router.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/stanza_router.lua b/core/stanza_router.lua
index 89a02c02..197c5f64 100644
--- a/core/stanza_router.lua
+++ b/core/stanza_router.lua
@@ -6,14 +6,14 @@
-- COPYING file in the source package for more information.
--
-local log = require "util.logger".init("stanzarouter")
+local log = require "prosody.util.logger".init("stanzarouter")
local hosts = _G.prosody.hosts;
local tostring = tostring;
-local st = require "util.stanza";
-local jid_split = require "util.jid".split;
-local jid_host = require "util.jid".host;
-local jid_prepped_split = require "util.jid".prepped_split;
+local st = require "prosody.util.stanza";
+local jid_split = require "prosody.util.jid".split;
+local jid_host = require "prosody.util.jid".host;
+local jid_prepped_split = require "prosody.util.jid".prepped_split;
local full_sessions = _G.prosody.full_sessions;
local bare_sessions = _G.prosody.bare_sessions;