MUC: Assign priorities to config form hooks so they have a consistent order on each...
[prosody.git] / plugins / muc / history.lib.lua
index 0fc0dfa3dfd5332716461a7e974c50fb060f1b46..437056efed974abb41e7ae60b46fa0d0e60ff3dc 100644 (file)
@@ -38,7 +38,7 @@ module:hook("muc-config-form", function(event)
                label = "Maximum Number of History Messages Returned by Room";
                value = tostring(get_historylength(event.room));
        });
-end);
+end, 100-10);
 
 module:hook("muc-config-submitted/muc#roomconfig_historylength", function(event)
        if set_historylength(event.room, event.value) then