Diff

plugins/mod_component.lua @ 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
parent 3604:3e89f0509967
child 3616:95ae7af2c82b
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);