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 | ef16a4a9ee5318387cd765c1873c725dc5e3bf63 (patch) | |
tree | 127b37e8bfbae4166760a6623313e9dbbb3aad3a | |
parent | 65a3d7f025cef63f4576a249cdb9d3feba72098f (diff) | |
download | prosody-ef16a4a9ee5318387cd765c1873c725dc5e3bf63.tar.gz prosody-ef16a4a9ee5318387cd765c1873c725dc5e3bf63.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 |