Software /
code /
prosody
Diff
plugins/muc/mod_muc.lua @ 3589:1792610e169e
MUC: Return true from the stanza handler to suppress error responses.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Wed, 10 Nov 2010 05:31:19 +0500 |
parent | 3577:2cc135cba25b |
child | 3604:3e89f0509967 |
line wrap: on
line diff
--- 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);