X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=plugins%2Fmuc%2Fmoderated.lib.lua;h=8354c5852dec7d2cd4f57d3abab7b39676d7a0c4;hb=873005c41b407731d759be423c51cb251346c0ae;hp=2f53ba4c0fb3ed1bdf2aa3a6d31f36fc7c7e9195;hpb=a42c0795142bf77347b6040e26a885eda1ee840c;p=prosody.git diff --git a/plugins/muc/moderated.lib.lua b/plugins/muc/moderated.lib.lua index 2f53ba4c..8354c585 100644 --- a/plugins/muc/moderated.lib.lua +++ b/plugins/muc/moderated.lib.lua @@ -29,7 +29,7 @@ module:hook("muc-config-form", function(event) label = "Make Room Moderated?"; value = get_moderated(event.room); }); -end); +end, 100-4); module:hook("muc-config-submitted/muc#roomconfig_moderatedroom", function(event) if set_moderated(event.room, event.value) then