From a74f2b1a9ebab175961440e1539435b92f803803 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Wed, 10 Nov 2010 05:31:19 +0500 Subject: MUC: Return true from the stanza handler to suppress error responses. --- plugins/muc/mod_muc.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/muc') diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua index 4f35b985..60602050 100644 --- a/plugins/muc/mod_muc.lua +++ b/plugins/muc/mod_muc.lua @@ -147,10 +147,11 @@ function stanza_handler(event) origin.send(st.error_reply(stanza, "cancel", "not-allowed")); end else --[[not for us?]] end - return; + return true; end -- to the main muc domain handle_to_domain(origin, stanza); + return true; end module:hook("iq/bare", stanza_handler); module:hook("message/bare", stanza_handler); -- cgit v1.2.3