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 | fd375a83984c0faea37365dd9c3d7ef2d2ec8b47 (patch) | |
tree | af82934d908985673b978521766f7f30030b771b /plugins/muc/name.lib.lua | |
parent | 92f1afc3f55f9c879f1a4df1b65db70659087f90 (diff) | |
download | prosody-fd375a83984c0faea37365dd9c3d7ef2d2ec8b47.tar.gz prosody-fd375a83984c0faea37365dd9c3d7ef2d2ec8b47.zip |
MUC: Provide a noop stub room:save() method
Diffstat (limited to 'plugins/muc/name.lib.lua')
-rw-r--r-- | plugins/muc/name.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/name.lib.lua b/plugins/muc/name.lib.lua index d9bfc4cf..fb014f75 100644 --- a/plugins/muc/name.lib.lua +++ b/plugins/muc/name.lib.lua @@ -17,7 +17,7 @@ local function set_name(room, name) if name == "" or name == (jid_split(room.jid)) then name = nil; end if room._data.name == name then return false; end room._data.name = name; - if room.save then room:save(true); end + room:save(true); return true; end |