Comparison

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
comparison
equal deleted inserted replaced
1819:1b08597b5e6f 1820:8de50be756e5
42 ============= 42 =============
43 43
44 Enable the plugin on a MUC host (do not put it in your global 44 Enable the plugin on a MUC host (do not put it in your global
45 modules\_enabled list): 45 modules\_enabled list):
46 46
47 Component "conference.example.com" "muc" 47 ``` {.lua}
48 modules_enabled = { "muc_config_restrict" } 48 Component "conference.example.com" "muc"
49 muc_config_restricted = { 49 modules_enabled = { "muc_config_restrict" }
50 "muc#roomconfig_persistentroom"; -- Prevent non-admins from changing a room's persistence setting 50 muc_config_restricted = {
51 "muc#roomconfig_membersonly"; -- Prevent non-admins from changing whether rooms are members-only 51 "muc#roomconfig_persistentroom"; -- Prevent non-admins from changing a room's persistence setting
52 } 52 "muc#roomconfig_membersonly"; -- Prevent non-admins from changing whether rooms are members-only
53 }
54 ```
53 55
54 Compatibility 56 Compatibility
55 ============= 57 =============
56 58
57 ------- -------------- 59 ------- --------------