Changeset

6329:6b3eb1611587

mod_muc: Import util.stanza into the config handler modules that need it. Fixes #432.
author Matthew Wild <mwild1@gmail.com>
date Tue, 05 Aug 2014 09:55:08 +0100
parents 6328:93fb28851d9e
children 6330:a678d15e590e
files plugins/muc/lock.lib.lua plugins/muc/members_only.lib.lua plugins/muc/password.lib.lua
diffstat 3 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/muc/lock.lib.lua	Tue Aug 05 09:16:29 2014 +0100
+++ b/plugins/muc/lock.lib.lua	Tue Aug 05 09:55:08 2014 +0100
@@ -7,6 +7,8 @@
 -- COPYING file in the source package for more information.
 --
 
+local st = require "util.stanza";
+
 local lock_rooms = module:get_option_boolean("muc_room_locking", false);
 local lock_room_timeout = module:get_option_number("muc_room_lock_timeout", 300);
 
--- a/plugins/muc/members_only.lib.lua	Tue Aug 05 09:16:29 2014 +0100
+++ b/plugins/muc/members_only.lib.lua	Tue Aug 05 09:55:08 2014 +0100
@@ -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;
 
--- a/plugins/muc/password.lib.lua	Tue Aug 05 09:16:29 2014 +0100
+++ b/plugins/muc/password.lib.lua	Tue Aug 05 09:55:08 2014 +0100
@@ -7,6 +7,8 @@
 -- COPYING file in the source package for more information.
 --
 
+local st = require "util.stanza";
+
 local function get_password(room)
 	return room._data.password;
 end