From f49b712297d934aec9a2af98f53483deac3c06c8 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 19 Apr 2016 20:31:39 +0200 Subject: MUC: Assign priorities to config form hooks so they have a consistent order on each start --- plugins/muc/password.lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/muc/password.lib.lua') diff --git a/plugins/muc/password.lib.lua b/plugins/muc/password.lib.lua index 8cb124ea..02ecdc1a 100644 --- a/plugins/muc/password.lib.lua +++ b/plugins/muc/password.lib.lua @@ -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 -- cgit v1.2.3