Software /
code /
prosody
Diff
plugins/muc/subject.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 | 7365:2d502878b784 |
child | 8606:b6b1f0f9b381 |
line wrap: on
line diff
--- a/plugins/muc/subject.lib.lua Tue Apr 19 19:00:46 2016 +0200 +++ b/plugins/muc/subject.lib.lua Tue Apr 19 20:31:39 2016 +0200 @@ -35,7 +35,7 @@ label = "Allow Occupants to Change Subject?"; value = get_changesubject(event.room); }); -end); +end, 100-8); module:hook("muc-config-submitted/muc#roomconfig_changesubject", function(event) if set_changesubject(event.room, event.value) then