projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08b19bb
)
MUC: Save yourself! (fixes reference to current room)
author
Kim Alvefur
<zash@zash.se>
Mon, 18 Apr 2016 17:08:31 +0000
(19:08 +0200)
committer
Kim Alvefur
<zash@zash.se>
Mon, 18 Apr 2016 17:08:31 +0000
(19:08 +0200)
plugins/muc/muc.lib.lua
patch
|
blob
|
history
diff --git
a/plugins/muc/muc.lib.lua
b/plugins/muc/muc.lib.lua
index 434127b4f2fd4e87ba2996284b9abfaf3fc0074a..0ea24c08385c8141d7c394537a1b21c4812d6c5b 100644
(file)
--- 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