Software /
code /
prosody
Diff
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 |
line wrap: on
line diff
--- 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;