diff options
Diffstat (limited to 'plugins/muc/hidden.lib.lua')
-rw-r--r-- | plugins/muc/hidden.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |