Software /
code /
prosody
Diff
plugins/muc/members_only.lib.lua @ 7352:50b24b3476e6
MUC: Provide a noop stub room:save() method
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 14 Apr 2016 21:23:09 +0200 |
parent | 7086:6cc7c9da29ed |
child | 7353:ca31d3271cf8 |
line wrap: on
line diff
--- a/plugins/muc/members_only.lib.lua Tue Apr 12 19:35:55 2016 +0200 +++ b/plugins/muc/members_only.lib.lua Thu Apr 14 21:23:09 2016 +0200 @@ -44,7 +44,7 @@ module:fire_event("muc-occupant-left", {room = room; nick = occupant.nick; occupant = occupant;}); end end - if room.save then room:save(true); end + room:save(true); return true; end