diff options
author | Kim Alvefur <zash@zash.se> | 2016-04-18 19:08:31 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-04-18 19:08:31 +0200 |
commit | b3640131f9f16fd273b8f78654472f5d0b79e531 (patch) | |
tree | 127b37e8bfbae4166760a6623313e9dbbb3aad3a | |
parent | 1e7dce90d51f387e5c033a5be7930b7f491d601f (diff) | |
download | prosody-b3640131f9f16fd273b8f78654472f5d0b79e531.tar.gz prosody-b3640131f9f16fd273b8f78654472f5d0b79e531.zip |
MUC: Save yourself! (fixes reference to current room)
-rw-r--r-- | plugins/muc/muc.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index 434127b4..0ea24c08 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -783,7 +783,7 @@ function room_mt:handle_admin_query_set_command(origin, stanza) 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 |