Software /
code /
prosody
Diff
plugins/muc/lock.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 | 6242:67efeadd9e77 |
child | 7407:e465b584547b |
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);