diff options
author | Kim Alvefur <zash@zash.se> | 2016-04-19 20:31:39 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-04-19 20:31:39 +0200 |
commit | f49b712297d934aec9a2af98f53483deac3c06c8 (patch) | |
tree | 2b0198ba840b793eb7c5c9d28d51acd7d648a0c3 /plugins/muc/password.lib.lua | |
parent | 72c55cf058c4c542ef63f4500ae52f26f0cce7b4 (diff) | |
download | prosody-f49b712297d934aec9a2af98f53483deac3c06c8.tar.gz prosody-f49b712297d934aec9a2af98f53483deac3c06c8.zip |
MUC: Assign priorities to config form hooks so they have a consistent order on each start
Diffstat (limited to 'plugins/muc/password.lib.lua')
-rw-r--r-- | plugins/muc/password.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |