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 | 27f234ce4e975fb109e439d38a751422ac8c2344 (patch) | |
tree | 2b0198ba840b793eb7c5c9d28d51acd7d648a0c3 /plugins/muc/hidden.lib.lua | |
parent | b42b0643f07546e85488e7384b960fcdd961db7e (diff) | |
download | prosody-27f234ce4e975fb109e439d38a751422ac8c2344.tar.gz prosody-27f234ce4e975fb109e439d38a751422ac8c2344.zip |
MUC: Assign priorities to config form hooks so they have a consistent order on each start
Diffstat (limited to 'plugins/muc/hidden.lib.lua')
-rw-r--r-- | plugins/muc/hidden.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/hidden.lib.lua b/plugins/muc/hidden.lib.lua index 43521e14..b2fe6216 100644 --- a/plugins/muc/hidden.lib.lua +++ b/plugins/muc/hidden.lib.lua @@ -25,7 +25,7 @@ module:hook("muc-config-form", function(event) label = "Make Room Publicly Searchable?"; value = not get_hidden(event.room); }); -end); +end, 100-5); module:hook("muc-config-submitted/muc#roomconfig_publicroom", function(event) if set_hidden(event.room, not event.value) then |