MUC: Assign priorities to config form hooks so they have a consistent order on each...
[prosody.git] / plugins / muc / moderated.lib.lua
index 2f53ba4c0fb3ed1bdf2aa3a6d31f36fc7c7e9195..8354c5852dec7d2cd4f57d3abab7b39676d7a0c4 100644 (file)
@@ -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