diff options
author | Kim Alvefur <zash@zash.se> | 2016-04-14 21:23:09 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-04-14 21:23:09 +0200 |
commit | e05eb9a0d70487b62ebd85686044af7859696799 (patch) | |
tree | af82934d908985673b978521766f7f30030b771b /plugins/muc/whois.lib.lua | |
parent | 0e905606b9bf28b8744ec13bcf586678d247a027 (diff) | |
download | prosody-e05eb9a0d70487b62ebd85686044af7859696799.tar.gz prosody-e05eb9a0d70487b62ebd85686044af7859696799.zip |
MUC: Provide a noop stub room:save() method
Diffstat (limited to 'plugins/muc/whois.lib.lua')
-rw-r--r-- | plugins/muc/whois.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/whois.lib.lua b/plugins/muc/whois.lib.lua index 2f492c45..84916c6a 100644 --- a/plugins/muc/whois.lib.lua +++ b/plugins/muc/whois.lib.lua @@ -20,7 +20,7 @@ local function set_whois(room, whois) assert(valid_whois[whois], "Invalid whois value") if get_whois(room) == whois then return false; end room._data.whois = whois; - if room.save then room:save(true); end + room:save(true); return true; end |