aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_legacyauth.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_legacyauth.lua
parent8136aa749a76e4fbb5b7e3cc34c878733647b8e9 (diff)
downloadprosody-98922d54b12086c9e71c55dcb9c766d584522552.tar.gz
prosody-98922d54b12086c9e71c55dcb9c766d584522552.zip
plugins: Prefix module imports with prosody namespace
Diffstat (limited to 'plugins/mod_legacyauth.lua')
-rw-r--r--plugins/mod_legacyauth.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/mod_legacyauth.lua b/plugins/mod_legacyauth.lua
index 52f2c143..048cd3e1 100644
--- a/plugins/mod_legacyauth.lua
+++ b/plugins/mod_legacyauth.lua
@@ -8,17 +8,17 @@
-local st = require "util.stanza";
+local st = require "prosody.util.stanza";
local t_concat = table.concat;
local secure_auth_only = module:get_option("c2s_require_encryption",
module:get_option("require_encryption", true))
or not(module:get_option("allow_unencrypted_plain_auth"));
-local sessionmanager = require "core.sessionmanager";
-local usermanager = require "core.usermanager";
-local nodeprep = require "util.encodings".stringprep.nodeprep;
-local resourceprep = require "util.encodings".stringprep.resourceprep;
+local sessionmanager = require "prosody.core.sessionmanager";
+local usermanager = require "prosody.core.usermanager";
+local nodeprep = require "prosody.util.encodings".stringprep.nodeprep;
+local resourceprep = require "prosody.util.encodings".stringprep.resourceprep;
module:add_feature("jabber:iq:auth");
module:hook("stream-features", function(event)