From e05eb9a0d70487b62ebd85686044af7859696799 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 14 Apr 2016 21:23:09 +0200 Subject: MUC: Provide a noop stub room:save() method --- plugins/muc/hidden.lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/muc/hidden.lib.lua') diff --git a/plugins/muc/hidden.lib.lua b/plugins/muc/hidden.lib.lua index 35ca3026..e1821bd7 100644 --- a/plugins/muc/hidden.lib.lua +++ b/plugins/muc/hidden.lib.lua @@ -15,7 +15,7 @@ local function set_hidden(room, hidden) hidden = hidden and true or nil; if get_hidden(room) == hidden then return false; end room._data.hidden = hidden; - if room.save then room:save(true); end + room:save(true); return true; end -- cgit v1.2.3