aboutsummaryrefslogtreecommitdiffstats
path: root/core/modulemanager.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/modulemanager.lua
parent9c63ae60fdc89ced9434487d3f298576e86e42a2 (diff)
downloadprosody-d47a7bb3bde921168e40a27cb2d0fc847c63167e.tar.gz
prosody-d47a7bb3bde921168e40a27cb2d0fc847c63167e.zip
core: Prefix module imports with prosody namespace
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r--core/modulemanager.lua20
1 files changed, 10 insertions, 10 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua
index 0ddf175b..00ceedbc 100644
--- a/core/modulemanager.lua
+++ b/core/modulemanager.lua
@@ -6,23 +6,23 @@
-- COPYING file in the source package for more information.
--
-local array = require "util.array";
-local logger = require "util.logger";
+local array = require "prosody.util.array";
+local logger = require "prosody.util.logger";
local log = logger.init("modulemanager");
-local config = require "core.configmanager";
-local pluginloader = require "util.pluginloader";
-local envload = require "util.envload";
-local set = require "util.set";
+local config = require "prosody.core.configmanager";
+local pluginloader = require "prosody.util.pluginloader";
+local envload = require "prosody.util.envload";
+local set = require "prosody.util.set";
-local core_features = require "core.features".available;
+local core_features = require "prosody.core.features".available;
-local new_multitable = require "util.multitable".new;
-local api = require "core.moduleapi"; -- Module API container
+local new_multitable = require "prosody.util.multitable".new;
+local api = require "prosody.core.moduleapi"; -- Module API container
local prosody = prosody;
local hosts = prosody.hosts;
-local xpcall = require "util.xpcall".xpcall;
+local xpcall = require "prosody.util.xpcall".xpcall;
local debug_traceback = debug.traceback;
local setmetatable, rawget = setmetatable, rawget;
local ipairs, pairs, type, t_insert = ipairs, pairs, type, table.insert;