Mercurial > prosody-wiki
changeset 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 | 36b224f0adba |
files | mod_muc_restrict_rooms.wiki |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_muc_restrict_rooms.wiki Fri Feb 20 18:32:41 2015 +0000 +++ b/mod_muc_restrict_rooms.wiki Fri Feb 20 23:13:57 2015 +0000 @@ -12,7 +12,7 @@ Copy the module to the prosody modules/plugins directory. -In Prosody's configuration file, under the desired host section, add: +In Prosody's configuration file, under the desired MUC component definition, add: {{{ modules_enabled = { ... @@ -21,6 +21,8 @@ } }}} +*Note*: This module _shouldn't_ be loaded in the global *modules_enabled*, otherwise it won't work. + = Configuration = *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.