# HG changeset patch # User Waqas Hussain # Date 1289583577 -18000 # Node ID c72d24c2d97b97f40aa06d4e0acd37f39c376d46 # Parent 8b436cc88c0ee3a22c3e14f9d5243c0291973696 mod_component: Return true from stanza handler to indicate that we actually did handle the stanza. diff -r 8b436cc88c0e -r c72d24c2d97b plugins/mod_component.lua --- 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);