Software /
code /
prosody
Changeset
1755:1614e8e62ad5
MUC: Fixed an undefined global access.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Mon, 07 Sep 2009 20:53:33 +0500 |
parents | 1754:67b66eec9777 |
children | 1756:b2291156a9c2 |
files | plugins/muc/muc.lib.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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;