Software /
code /
prosody
File
plugins/muc/config_form_sections.lib.lua @ 11047:93cdd1ece689
mod_posix: Remove ancient undocumented user switching
User switching has been done by prosodyctl or init scripts for a very
long time now, so this is not needed.
Using this would not have worked with module reloading (e.g. to reload
certificates) since ports are closed and re-bound, which would then not
be allowed.
Today there exists better ways to grant low ports, i.e. capabilities(7)
<Zash> Why do we have this?
<MattJ> Remove it
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 24 Aug 2020 19:48:47 +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);