Mercurial > prosody-wiki
changeset 507:77f510e2dc5b
Edited wiki page mod_muc_restrict_rooms through web user interface.
author | NKNeumann@gmail.com |
---|---|
date | Fri, 20 Feb 2015 18:32:41 +0000 |
parents | ad9071a3062c |
children | 0a4bba063c67 |
files | mod_muc_restrict_rooms.wiki |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_muc_restrict_rooms.wiki Fri Feb 20 18:30:17 2015 +0000 +++ b/mod_muc_restrict_rooms.wiki Fri Feb 20 18:32:41 2015 +0000 @@ -26,7 +26,7 @@ *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. || *Name* || *Description* || *Example* || *Default value* || -|| muc_restrict_matching || Table in the key/value format (keys for patterns and values for reasons) that determines which rooms shouldn't be created. The key is a regexp and must be specified between quotation marks (see example). Room names will be evaluated always lowercase, so define your patterns taking this into consideration. || muc_restrict_matching = { ["^admin"] = "Rooms that start with 'admin' are reserved for staff use only" } || {} || +|| muc_restrict_matching || Table in the key/value format (keys for patterns and values for reasons) that determines which rooms shouldn't be created. The key is a regexp and must be specified between quotation marks (see example). Room names will be evaluated always lowercase, so define your patterns taking this into consideration. Users that try to join any room that matches one of those rules will get an error telling them they cannot join. || muc_restrict_matching = { ["^admin"] = "Rooms that start with 'admin' are reserved for staff use only" } || {} || || muc_restrict_exceptions || String format table that contains exceptions to the above defined rules. Room names specified here will bypass the **muc_restrict_matching** restrictions and will be available for anyone || muc_restrict_exceptions = { "admins_are_good", "admins_rocks" } || {} || || muc_restrict_allow_admins || Boolean that determines whether users in the *admin* table are able to bypass any room restriction. If ser to _true_, they will be able to bypass those rules. || muc_restrict_allow_admins = true || false ||