plugins/muc/muc.lib.lua
changeset 1755 1614e8e62ad5
parent 1754 67b66eec9777
child 1756 b2291156a9c2
--- a/plugins/muc/muc.lib.lua	Mon Sep 07 20:51:59 2009 +0500
+++ b/plugins/muc/muc.lib.lua	Mon Sep 07 20:53:33 2009 +0500
@@ -526,7 +526,7 @@
 			end
 		end
 	end
-	if room.save then room:save(); end
+	if self.save then self:save(); end
 	if callback then callback(); end
 	for _, nick in ipairs(modified_nicks) do
 		p.attr.from = nick;