aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/restrict_pm.lib.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2024-11-23 17:43:43 +0100
committerKim Alvefur <zash@zash.se>2024-11-23 17:43:43 +0100
commit0f931dea2ae6ecb5feec867122271ec29453ab7c (patch)
tree61593f4870109730be4029574a7e787b332096b5 /plugins/muc/restrict_pm.lib.lua
parentab148f782f901ec087175f02defaf02929c5a734 (diff)
downloadprosody-0f931dea2ae6ecb5feec867122271ec29453ab7c.tar.gz
prosody-0f931dea2ae6ecb5feec867122271ec29453ab7c.zip
MUC: Use fully qualified import
Seems to be hard to break old habits? Ref #1223
Diffstat (limited to 'plugins/muc/restrict_pm.lib.lua')
-rw-r--r--plugins/muc/restrict_pm.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/restrict_pm.lib.lua b/plugins/muc/restrict_pm.lib.lua
index e0b25cc8..3c91b921 100644
--- a/plugins/muc/restrict_pm.lib.lua
+++ b/plugins/muc/restrict_pm.lib.lua
@@ -1,7 +1,7 @@
-- Based on code from mod_muc_restrict_pm in prosody-modules@d82c0383106a
-- by Nicholas George <wirlaburla@worlio.com>
-local st = require "util.stanza";
+local st = require "prosody.util.stanza";
local muc_util = module:require "muc/util";
local valid_roles = muc_util.valid_roles;