aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/members_only.lib.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2014-08-05 09:55:08 +0100
committerMatthew Wild <mwild1@gmail.com>2014-08-05 09:55:08 +0100
commite77035761a9de8dc2efafcd771fd29a197bb8b0b (patch)
tree3c468d13e1922e7470b9b18745050e33d92bddc3 /plugins/muc/members_only.lib.lua
parentdfc87dc7ebe5d424022eae8e10fa8d7a1f404e0f (diff)
downloadprosody-e77035761a9de8dc2efafcd771fd29a197bb8b0b.tar.gz
prosody-e77035761a9de8dc2efafcd771fd29a197bb8b0b.zip
mod_muc: Import util.stanza into the config handler modules that need it. Fixes #432.
Diffstat (limited to 'plugins/muc/members_only.lib.lua')
-rw-r--r--plugins/muc/members_only.lib.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/muc/members_only.lib.lua b/plugins/muc/members_only.lib.lua
index b0999f0b..65807e80 100644
--- a/plugins/muc/members_only.lib.lua
+++ b/plugins/muc/members_only.lib.lua
@@ -7,6 +7,8 @@
-- COPYING file in the source package for more information.
--
+local st = require "util.stanza";
+
local muc_util = module:require "muc/util";
local valid_roles, valid_affiliations = muc_util.valid_roles, muc_util.valid_affiliations;