aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/members_only.lib.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-12-19 23:14:30 +0000
committerMatthew Wild <mwild1@gmail.com>2018-12-19 23:14:30 +0000
commit065ad98d8b215fb8e7bdac1bdde66802b54721d6 (patch)
tree709f64d1005884f68e9ff008475a30c38b6272b2 /plugins/muc/members_only.lib.lua
parent38f2458cd7fab0fcdea01c831c0f4276864db051 (diff)
parentf281528c3955b92e5234eac560251c1ade3fac8c (diff)
downloadprosody-065ad98d8b215fb8e7bdac1bdde66802b54721d6.tar.gz
prosody-065ad98d8b215fb8e7bdac1bdde66802b54721d6.zip
Merge 0.11->trunk
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 cd9f777e..4194c5c7 100644
--- a/plugins/muc/members_only.lib.lua
+++ b/plugins/muc/members_only.lib.lua
@@ -104,7 +104,7 @@ module:hook("muc-get-default-role", function(event)
if not event.affiliation and get_members_only(event.room) then
return false;
end
-end);
+end, 2);
-- registration required for entering members-only room
module:hook("muc-occupant-pre-join", function(event)