diff options
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-rw-r--r-- | plugins/muc/muc.lib.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index 9a7b1f85..eeb531a9 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -769,7 +769,7 @@ function room_mt:process_form(origin, stanza) end event.field, event.value = nil, nil; - self:save(); + self:save(true); origin.send(st.reply(stanza)); if next(event.status_codes) then @@ -852,7 +852,7 @@ function room_mt:handle_admin_query_set_command(origin, stanza) else success, errtype, err = nil, "cancel", "bad-request"; end - self:save(); + self:save(true); if not success then origin.send(st.error_reply(stanza, errtype, err)); else @@ -1219,7 +1219,7 @@ function room_mt:set_affiliation(actor, jid, affiliation, reason) end end - self:save(); + self:save(true); module:fire_event("muc-set-affiliation", { room = self; |