aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/whois.lib.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-04-19 20:31:39 +0200
committerKim Alvefur <zash@zash.se>2016-04-19 20:31:39 +0200
commit27f234ce4e975fb109e439d38a751422ac8c2344 (patch)
tree2b0198ba840b793eb7c5c9d28d51acd7d648a0c3 /plugins/muc/whois.lib.lua
parentb42b0643f07546e85488e7384b960fcdd961db7e (diff)
downloadprosody-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/whois.lib.lua')
-rw-r--r--plugins/muc/whois.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/whois.lib.lua b/plugins/muc/whois.lib.lua
index 07e72c69..4acf288c 100644
--- a/plugins/muc/whois.lib.lua
+++ b/plugins/muc/whois.lib.lua
@@ -38,7 +38,7 @@ module:hook("muc-config-form", function(event)
{ value = 'anyone', label = 'Anyone', default = whois == 'anyone' }
}
});
-end);
+end, 100-9);
module:hook("muc-config-submitted/muc#roomconfig_whois", function(event)
if set_whois(event.room, event.value) then