From 27f234ce4e975fb109e439d38a751422ac8c2344 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 19 Apr 2016 20:31:39 +0200 Subject: MUC: Assign priorities to config form hooks so they have a consistent order on each start --- plugins/muc/hidden.lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/muc/hidden.lib.lua') 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 -- cgit v1.2.3