aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-09-07 20:53:33 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-09-07 20:53:33 +0500
commitbacd4ff11eb60f01d5c390ae7b73ce144252e939 (patch)
tree3744f97217c7e08f43f2ffd2c6befd85158bbfc4 /plugins
parent4db96d1b1f410f99994962c41e0ab1428f7b9027 (diff)
downloadprosody-bacd4ff11eb60f01d5c390ae7b73ce144252e939.tar.gz
prosody-bacd4ff11eb60f01d5c390ae7b73ce144252e939.zip
MUC: Fixed an undefined global access.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/muc/muc.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index 0d7e2581..301fba4c 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -526,7 +526,7 @@ function room_mt:set_affiliation(actor, jid, affiliation, callback)
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;