Diff

plugins/muc/description.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 8829:6dd7fea941f6
line wrap: on
line diff
--- a/plugins/muc/description.lib.lua	Tue Apr 19 19:00:46 2016 +0200
+++ b/plugins/muc/description.lib.lua	Tue Apr 19 20:31:39 2016 +0200
@@ -27,7 +27,7 @@
 	});
 end
 module:hook("muc-disco#info", add_form_option);
-module:hook("muc-config-form", add_form_option);
+module:hook("muc-config-form", add_form_option, 100-2);
 
 module:hook("muc-config-submitted/muc#roomconfig_roomdesc", function(event)
 	if set_description(event.room, event.value) then