aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/subject.lib.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-07-13 15:47:08 +0100
committerMatthew Wild <mwild1@gmail.com>2018-07-13 15:47:08 +0100
commit1f50e15c8e2a4d530df6318db7b1959e831230d6 (patch)
treea5cc2940ac88d722a500026be4508b7f427146ce /plugins/muc/subject.lib.lua
parent1a0e7d5a10f2140d05dd54531c4ba1f35768ab93 (diff)
downloadprosody-1f50e15c8e2a4d530df6318db7b1959e831230d6.tar.gz
prosody-1f50e15c8e2a4d530df6318db7b1959e831230d6.zip
MUC: Add sections in room config form
Diffstat (limited to 'plugins/muc/subject.lib.lua')
-rw-r--r--plugins/muc/subject.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/subject.lib.lua b/plugins/muc/subject.lib.lua
index 3b4efaf7..938abf61 100644
--- a/plugins/muc/subject.lib.lua
+++ b/plugins/muc/subject.lib.lua
@@ -45,7 +45,7 @@ module:hook("muc-config-form", function(event)
desc = "Choose whether anyone, or only moderators, may set the room's subject";
value = get_changesubject(event.room);
});
-end, 100-8);
+end, 80-1);
module:hook("muc-config-submitted/muc#roomconfig_changesubject", function(event)
if set_changesubject(event.room, event.value) then