aboutsummaryrefslogtreecommitdiffstats
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
commited99ded1baed03ffe925265d85db71c2d4603a93 (patch)
treed2f679131be6134f4ae13cb3066062012cd2b7f1
parentad68aafea58bed22d625d9a815dc4f17c79055d8 (diff)
downloadprosody-ed99ded1baed03ffe925265d85db71c2d4603a93.tar.gz
prosody-ed99ded1baed03ffe925265d85db71c2d4603a93.zip
plugins/muc/muc.lib: Add missing :up()
-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"));