aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/persistent.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
commitf49b712297d934aec9a2af98f53483deac3c06c8 (patch)
tree2b0198ba840b793eb7c5c9d28d51acd7d648a0c3 /plugins/muc/persistent.lib.lua
parent72c55cf058c4c542ef63f4500ae52f26f0cce7b4 (diff)
downloadprosody-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/persistent.lib.lua')
-rw-r--r--plugins/muc/persistent.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/persistent.lib.lua b/plugins/muc/persistent.lib.lua
index 773509b5..abceafe1 100644
--- a/plugins/muc/persistent.lib.lua
+++ b/plugins/muc/persistent.lib.lua
@@ -25,7 +25,7 @@ module:hook("muc-config-form", function(event)
label = "Make Room Persistent?";
value = get_persistent(event.room);
});
-end);
+end, 100-3);
module:hook("muc-config-submitted/muc#roomconfig_persistentroom", function(event)
if set_persistent(event.room, event.value) then