comparison mod_muc_restrict_rooms.wiki @ 508:0a4bba063c67

Edited wiki page mod_muc_restrict_rooms through web user interface.
author NKNeumann@gmail.com
date Fri, 20 Feb 2015 23:13:57 +0000
parents 77f510e2dc5b
children
comparison
equal deleted inserted replaced
507:77f510e2dc5b 508:0a4bba063c67
10 10
11 = How to load the module = 11 = How to load the module =
12 12
13 Copy the module to the prosody modules/plugins directory. 13 Copy the module to the prosody modules/plugins directory.
14 14
15 In Prosody's configuration file, under the desired host section, add: 15 In Prosody's configuration file, under the desired MUC component definition, add:
16 {{{ 16 {{{
17 modules_enabled = { 17 modules_enabled = {
18 ... 18 ...
19 "mod_muc_restrict_rooms"; 19 "mod_muc_restrict_rooms";
20 ... 20 ...
21 } 21 }
22 }}} 22 }}}
23
24 *Note*: This module _shouldn't_ be loaded in the global *modules_enabled*, otherwise it won't work.
23 25
24 = Configuration = 26 = Configuration =
25 27
26 *mod_muc_restrict_rooms* has several variables which let you configure the patterns for room names you want to ban, establish exceptions for those patterns and even deciding whether admins can or not bypass the prohibition. 28 *mod_muc_restrict_rooms* has several variables which let you configure the patterns for room names you want to ban, establish exceptions for those patterns and even deciding whether admins can or not bypass the prohibition.
27 29