aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/members_only.lib.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-07-13 15:47:08 +0100
committerMatthew Wild <mwild1@gmail.com>2018-07-13 15:47:08 +0100
commitaf3f281a246020851c57df60ab61b6a9ef2a82b9 (patch)
treea5cc2940ac88d722a500026be4508b7f427146ce /plugins/muc/members_only.lib.lua
parent995815c6d323a41f44cc6bd2fa76fa9c248c105a (diff)
downloadprosody-af3f281a246020851c57df60ab61b6a9ef2a82b9.tar.gz
prosody-af3f281a246020851c57df60ab61b6a9ef2a82b9.zip
MUC: Add sections in room config form
Diffstat (limited to 'plugins/muc/members_only.lib.lua')
-rw-r--r--plugins/muc/members_only.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/members_only.lib.lua b/plugins/muc/members_only.lib.lua
index b3bcdd8b..cd9f777e 100644
--- a/plugins/muc/members_only.lib.lua
+++ b/plugins/muc/members_only.lib.lua
@@ -85,7 +85,7 @@ module:hook("muc-config-form", function(event)
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