MUC: Assign priorities to config form hooks so they have a consistent order on each...
[prosody.git] / plugins / muc / subject.lib.lua
index 832f160b5f2d03d6250d2333558abe318f64111b..6f118b43f1397d1f42aeaca06df76c013d63b599 100644 (file)
@@ -35,7 +35,7 @@ module:hook("muc-config-form", function(event)
                label = "Allow Occupants to Change Subject?";
                value = get_changesubject(event.room);
        });
-end);
+end, 100-8);
 
 module:hook("muc-config-submitted/muc#roomconfig_changesubject", function(event)
        if set_changesubject(event.room, event.value) then