From 42993c2ec2569d3d6e54597ea019775926765628 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Fri, 12 Nov 2010 22:39:37 +0500 Subject: mod_component: Return true from stanza handler to indicate that we actually did handle the stanza. --- plugins/mod_component.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/mod_component.lua') diff --git a/plugins/mod_component.lua b/plugins/mod_component.lua index 4e1f31cb..808735b7 100644 --- a/plugins/mod_component.lua +++ b/plugins/mod_component.lua @@ -41,6 +41,7 @@ local function handle_stanza(event) event.origin.send(st.error_reply(stanza, "wait", "service-unavailable", "Component unavailable")); end end + return true; end module:hook("iq/bare", handle_stanza); -- cgit v1.2.3