Software /
code /
prosody
Diff
plugins/muc/members_only.lib.lua @ 9716:5281a795d6df 0.11
MUC: Adjust priorities of muc-get-default-role handlers (fixes #1272)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 19 Dec 2018 23:14:13 +0000 |
parent | 9035:173c0e16e704 |
child | 10449:2e36a54906e4 |
child | 11545:7b8a482f4efd |
line wrap: on
line diff
--- a/plugins/muc/members_only.lib.lua Wed Dec 19 16:54:07 2018 +0000 +++ b/plugins/muc/members_only.lib.lua Wed Dec 19 23:14:13 2018 +0000 @@ -104,7 +104,7 @@ 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)