aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-rw-r--r--plugins/muc/muc.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index 0009e9b2..4eadc414 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -61,7 +61,7 @@ module:hook("muc-get-default-role", function(event)
elseif event.affiliation_rank >= valid_affiliations.none then
return "participant";
end
-end);
+end, -1);
--- Occupant functions
function room_mt:new_occupant(bare_real_jid, nick)