MUC: Assign priorities to config form hooks so they have a consistent order on each...
[prosody.git] / plugins / muc / name.lib.lua
index 3dbae9db59b59ff361c4f3d75e5fc63cb63ac6f8..2dcb979a244de5cd807e1253c15405e411d5c252 100644 (file)
@@ -31,7 +31,7 @@ module:hook("muc-config-form", function(event)
                label = "Name";
                value = get_name(event.room) or "";
        });
-end);
+end, 100-1);
 
 module:hook("muc-config-submitted/muc#roomconfig_roomname", function(event)
        if set_name(event.room, event.value) then