Changeset

3615:c72d24c2d97b

mod_component: Return true from stanza handler to indicate that we actually did handle the stanza.
author Waqas Hussain <waqas20@gmail.com>
date Fri, 12 Nov 2010 22:39:37 +0500
parents 3614:8b436cc88c0e
children 3616:95ae7af2c82b
files plugins/mod_component.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);