aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_version.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-03-24 13:15:28 +0100
committerKim Alvefur <zash@zash.se>2023-03-24 13:15:28 +0100
commit98922d54b12086c9e71c55dcb9c766d584522552 (patch)
tree70ab8d93827b088e4585a59e9fc2493c33c0deda /plugins/mod_version.lua
parent8136aa749a76e4fbb5b7e3cc34c878733647b8e9 (diff)
downloadprosody-98922d54b12086c9e71c55dcb9c766d584522552.tar.gz
prosody-98922d54b12086c9e71c55dcb9c766d584522552.zip
plugins: Prefix module imports with prosody namespace
Diffstat (limited to 'plugins/mod_version.lua')
-rw-r--r--plugins/mod_version.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_version.lua b/plugins/mod_version.lua
index 1d24001c..d9d3844c 100644
--- a/plugins/mod_version.lua
+++ b/plugins/mod_version.lua
@@ -6,7 +6,7 @@
-- COPYING file in the source package for more information.
--
-local st = require "util.stanza";
+local st = require "prosody.util.stanza";
module:add_feature("jabber:iq:version");
@@ -20,7 +20,7 @@ if not module:get_option_boolean("hide_os_type") then
platform = "Windows";
else
local os_version_command = module:get_option_string("os_version_command");
- local ok, pposix = pcall(require, "util.pposix");
+ local ok, pposix = pcall(require, "prosody.util.pposix");
if not os_version_command and (ok and pposix and pposix.uname) then
platform = pposix.uname().sysname;
end