diff options
author | Kim Alvefur <zash@zash.se> | 2023-03-17 16:23:07 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-03-17 16:23:07 +0100 |
commit | d47a7bb3bde921168e40a27cb2d0fc847c63167e (patch) | |
tree | b05560972fc7a17a005df06aed1ca1c8e5086c66 /core/loggingmanager.lua | |
parent | 9c63ae60fdc89ced9434487d3f298576e86e42a2 (diff) | |
download | prosody-d47a7bb3bde921168e40a27cb2d0fc847c63167e.tar.gz prosody-d47a7bb3bde921168e40a27cb2d0fc847c63167e.zip |
core: Prefix module imports with prosody namespace
Diffstat (limited to 'core/loggingmanager.lua')
-rw-r--r-- | core/loggingmanager.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua index 5da77354..d33eef36 100644 --- a/core/loggingmanager.lua +++ b/core/loggingmanager.lua @@ -6,20 +6,20 @@ -- COPYING file in the source package for more information. -- -local format = require "util.format".format; +local format = require "prosody.util.format".format; local setmetatable, rawset, pairs, ipairs, type = setmetatable, rawset, pairs, ipairs, type; local stdout = io.stdout; local io_open = io.open; local math_max, rep = math.max, string.rep; local os_date = os.date; -local getstyle, getstring = require "util.termcolours".getstyle, require "util.termcolours".getstring; -local st = require "util.stanza"; +local getstyle, getstring = require "prosody.util.termcolours".getstyle, require "prosody.util.termcolours".getstring; +local st = require "prosody.util.stanza"; -local config = require "core.configmanager"; -local logger = require "util.logger"; +local config = require "prosody.core.configmanager"; +local logger = require "prosody.util.logger"; -local have_pposix, pposix = pcall(require, "util.pposix"); +local have_pposix, pposix = pcall(require, "prosody.util.pposix"); have_pposix = have_pposix and pposix._VERSION == "0.4.0"; local _ENV = nil; |