Software /
code /
prosody
Diff
plugins/muc/whois.lib.lua @ 7401:e16b3fd0bd80
MUC: Assign priorities to config form hooks so they have a consistent order on each start
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 19 Apr 2016 20:31:39 +0200 |
parent | 7353:ca31d3271cf8 |
child | 9034:1c709e3d2e5e |
line wrap: on
line diff
--- a/plugins/muc/whois.lib.lua Tue Apr 19 19:00:46 2016 +0200 +++ b/plugins/muc/whois.lib.lua Tue Apr 19 20:31:39 2016 +0200 @@ -38,7 +38,7 @@ { 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