From ed99ded1baed03ffe925265d85db71c2d4603a93 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Fri, 26 Sep 2014 17:34:02 -0400 Subject: plugins/muc/muc.lib: Add missing :up() --- plugins/muc/muc.lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/muc/muc.lib.lua') 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")); -- cgit v1.2.3