Mercurial > prosody-hg
diff plugins/muc/muc.lib.lua @ 7364:9ea3094b1fca
MUC: Save yourself! (fixes reference to current room)
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 18 Apr 2016 19:08:31 +0200 |
| parents | 14170d161b39 |
| children | eb3928903009 |
line wrap: on
line diff
--- a/plugins/muc/muc.lib.lua Mon Apr 18 16:51:09 2016 +0200 +++ b/plugins/muc/muc.lib.lua Mon Apr 18 19:08:31 2016 +0200 @@ -783,7 +783,7 @@ else success, errtype, err = nil, "cancel", "bad-request"; end - room:save(); + self:save(); if not success then origin.send(st.error_reply(stanza, errtype, err)); else
