aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2014-09-26 17:34:02 -0400
committerdaurnimator <quae@daurnimator.com>2014-09-26 17:34:02 -0400
commit091ef969514c7a9a7288417a56a4cb8ddcbfe7b5 (patch)
treed2f679131be6134f4ae13cb3066062012cd2b7f1 /plugins/muc/muc.lib.lua
parent43ce26e2f4ad2a72039fa6e169a0aaed64199315 (diff)
downloadprosody-091ef969514c7a9a7288417a56a4cb8ddcbfe7b5.tar.gz
prosody-091ef969514c7a9a7288417a56a4cb8ddcbfe7b5.zip
plugins/muc/muc.lib: Add missing :up()
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-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 ad3800a7..fa0f6b26 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -743,7 +743,7 @@ function room_mt:handle_admin_query_get_command(origin, stanza)
reply:tag("item", {affiliation = _aff, jid = jid}):up();
end
end
- origin.send(reply);
+ origin.send(reply:up());
return true;
else
origin.send(st.error_reply(stanza, "auth", "forbidden"));