aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-11-12 22:39:37 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-11-12 22:39:37 +0500
commit42993c2ec2569d3d6e54597ea019775926765628 (patch)
tree1ca60c1801ac03fa7792455fd58c458d6bb08fea /plugins
parente62e7d0162b757ebdf9cbd8df2f4df1088300097 (diff)
downloadprosody-42993c2ec2569d3d6e54597ea019775926765628.tar.gz
prosody-42993c2ec2569d3d6e54597ea019775926765628.zip
mod_component: Return true from stanza handler to indicate that we actually did handle the stanza.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_component.lua1
1 files changed, 1 insertions, 0 deletions
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);