Comparison

plugins/muc/members_only.lib.lua @ 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
parent 6230:97d53caef325
child 6477:29f979f554d3
comparison
equal deleted inserted replaced
6328:93fb28851d9e 6329:6b3eb1611587
4 -- Copyright (C) 2014 Daurnimator 4 -- Copyright (C) 2014 Daurnimator
5 -- 5 --
6 -- This project is MIT/X11 licensed. Please see the 6 -- This project is MIT/X11 licensed. Please see the
7 -- COPYING file in the source package for more information. 7 -- COPYING file in the source package for more information.
8 -- 8 --
9
10 local st = require "util.stanza";
9 11
10 local muc_util = module:require "muc/util"; 12 local muc_util = module:require "muc/util";
11 local valid_roles, valid_affiliations = muc_util.valid_roles, muc_util.valid_affiliations; 13 local valid_roles, valid_affiliations = muc_util.valid_roles, muc_util.valid_affiliations;
12 14
13 local function get_members_only(room) 15 local function get_members_only(room)