Fri, 12 Nov 2010 22:39:37 +0500
mod_component: Return true from stanza handler to indicate that we actually did handle the stanza.
plugins/mod_component.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/mod_component.lua Fri Nov 12 11:51:50 2010 +0000 +++ b/plugins/mod_component.lua Fri Nov 12 22:39:37 2010 +0500 @@ -41,6 +41,7 @@ event.origin.send(st.error_reply(stanza, "wait", "service-unavailable", "Component unavailable")); end end + return true; end module:hook("iq/bare", handle_stanza);