Software / code / prosody
File
plugins/muc/config_form_sections.lib.lua @ 10084:e4043e3928f2
mod_admin_telnet: Factor out function for collecting all c2s sessions for easier reuse
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 26 Jul 2019 21:05:13 +0200 |
| parent | 9036:bb4dcc555091 |
line wrap: on
line source
module:hook("muc-config-form", function(event) table.insert(event.form, { type = "fixed"; value = "Room information"; }); end, 100); module:hook("muc-config-form", function(event) table.insert(event.form, { type = "fixed"; value = "Access to the room"; }); end, 90); module:hook("muc-config-form", function(event) table.insert(event.form, { type = "fixed"; value = "Permissions in the room"; }); end, 80); module:hook("muc-config-form", function(event) table.insert(event.form, { type = "fixed"; value = "Other options"; }); end, 70);