plugins/muc/hidden.lib.lua
changeset 7355 50b24b3476e6
parent 6994 84e01dbb739e
child 7356 ca31d3271cf8
--- a/plugins/muc/hidden.lib.lua	Tue Apr 12 19:35:55 2016 +0200
+++ b/plugins/muc/hidden.lib.lua	Thu Apr 14 21:23:09 2016 +0200
@@ -15,7 +15,7 @@
 	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