Software /
code /
prosody
Comparison
plugins/muc/lock.lib.lua @ 12977:74b9e05af71e
plugins: Prefix module imports with prosody namespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 24 Mar 2023 13:15:28 +0100 |
parent | 10450:c1edeb9fe337 |
child | 13209:c8d949cf6b09 |
comparison
equal
deleted
inserted
replaced
12976:a187600ec7d6 | 12977:74b9e05af71e |
---|---|
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 | 9 |
10 local st = require "util.stanza"; | 10 local st = require "prosody.util.stanza"; |
11 | 11 |
12 local lock_rooms = module:get_option_boolean("muc_room_locking", true); | 12 local lock_rooms = module:get_option_boolean("muc_room_locking", true); |
13 local lock_room_timeout = module:get_option_number("muc_room_lock_timeout", 300); | 13 local lock_room_timeout = module:get_option_number("muc_room_lock_timeout", 300); |
14 | 14 |
15 local function lock(room) | 15 local function lock(room) |