# HG changeset patch # User Waqas Hussain # Date 1289349079 -18000 # Node ID 1792610e169e29d4d0256834075766822d0dd15b # Parent 1e570ed17147b78ab850733b2a335651b7e74332 MUC: Return true from the stanza handler to suppress error responses. diff -r 1e570ed17147 -r 1792610e169e plugins/muc/mod_muc.lua --- a/plugins/muc/mod_muc.lua Wed Nov 10 05:30:46 2010 +0500 +++ b/plugins/muc/mod_muc.lua Wed Nov 10 05:31:19 2010 +0500 @@ -147,10 +147,11 @@ 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);