Software /
code /
prosody-modules
Diff
mod_muc_config_restrict/README.markdown @ 1820:8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 02 Sep 2015 17:30:33 +0200 |
parent | 1803:4d73a1a6ba68 |
child | 5007:34fb3d239ac1 |
line wrap: on
line diff
--- a/mod_muc_config_restrict/README.markdown Wed Sep 02 16:43:34 2015 +0200 +++ b/mod_muc_config_restrict/README.markdown Wed Sep 02 17:30:33 2015 +0200 @@ -44,12 +44,14 @@ Enable the plugin on a MUC host (do not put it in your global modules\_enabled list): - Component "conference.example.com" "muc" - modules_enabled = { "muc_config_restrict" } - muc_config_restricted = { - "muc#roomconfig_persistentroom"; -- Prevent non-admins from changing a room's persistence setting - "muc#roomconfig_membersonly"; -- Prevent non-admins from changing whether rooms are members-only - } +``` {.lua} +Component "conference.example.com" "muc" +modules_enabled = { "muc_config_restrict" } +muc_config_restricted = { + "muc#roomconfig_persistentroom"; -- Prevent non-admins from changing a room's persistence setting + "muc#roomconfig_membersonly"; -- Prevent non-admins from changing whether rooms are members-only +} +``` Compatibility =============