Software /
code /
prosody
Diff
plugins/muc/muc.lib.lua @ 1755:1614e8e62ad5
MUC: Fixed an undefined global access.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Mon, 07 Sep 2009 20:53:33 +0500 |
parent | 1754:67b66eec9777 |
child | 1756:b2291156a9c2 |
line wrap: on
line diff
--- 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;