Mon, 07 Sep 2009 20:53:33 +0500
MUC: Fixed an undefined global access.
plugins/muc/muc.lib.lua | file | annotate | diff | comparison | revisions |
--- 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;