Software /
code /
prosody
Diff
plugins/muc/members_only.lib.lua @ 9035:173c0e16e704
MUC: Add sections in room config form
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 13 Jul 2018 15:47:08 +0100 |
parent | 9034:1c709e3d2e5e |
child | 9716:5281a795d6df |
line wrap: on
line diff
--- a/plugins/muc/members_only.lib.lua Fri Jul 13 13:22:40 2018 +0100 +++ b/plugins/muc/members_only.lib.lua Fri Jul 13 15:47:08 2018 +0100 @@ -85,7 +85,7 @@ label = "Allow members to invite new members"; value = get_allow_member_invites(event.room); }); -end, 100-6); +end, 90-3); module:hook("muc-config-submitted/muc#roomconfig_membersonly", function(event) if set_members_only(event.room, event.value) then