MUC: Assign priorities to config form hooks so they have a consistent order on each...
[prosody.git] / plugins / muc / password.lib.lua
index 8cb124ea2329dc6fc2fb8a9db44a5c265e22f727..02ecdc1a57b318e625627dbb7703981674801e2e 100644 (file)
@@ -31,7 +31,7 @@ module:hook("muc-config-form", function(event)
                label = "Password";
                value = get_password(event.room) or "";
        });
-end);
+end, 100-7);
 
 module:hook("muc-config-submitted/muc#roomconfig_roomsecret", function(event)
        if set_password(event.room, event.value) then