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_posix.lua | |
parent | 8136aa749a76e4fbb5b7e3cc34c878733647b8e9 (diff) | |
download | prosody-98922d54b12086c9e71c55dcb9c766d584522552.tar.gz prosody-98922d54b12086c9e71c55dcb9c766d584522552.zip |
plugins: Prefix module imports with prosody namespace
Diffstat (limited to 'plugins/mod_posix.lua')
-rw-r--r-- | plugins/mod_posix.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/mod_posix.lua b/plugins/mod_posix.lua index 7f048be3..3aa6a895 100644 --- a/plugins/mod_posix.lua +++ b/plugins/mod_posix.lua @@ -9,13 +9,13 @@ local want_pposix_version = "0.4.0"; -local pposix = assert(require "util.pposix"); +local pposix = assert(require "prosody.util.pposix"); if pposix._VERSION ~= want_pposix_version then module:log("warn", "Unknown version (%s) of binary pposix module, expected %s." .. "Perhaps you need to recompile?", tostring(pposix._VERSION), want_pposix_version); end -local have_signal, signal = pcall(require, "util.signal"); +local have_signal, signal = pcall(require, "prosody.util.signal"); if not have_signal then module:log("warn", "Couldn't load signal library, won't respond to SIGTERM"); end @@ -97,7 +97,7 @@ if daemonize == nil then end local function remove_log_sinks() - local lm = require "core.loggingmanager"; + local lm = require "prosody.core.loggingmanager"; lm.register_sink_type("console", nil); lm.register_sink_type("stdout", nil); lm.reload_logging(); |