diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-11-12 22:39:37 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-11-12 22:39:37 +0500 |
commit | 42993c2ec2569d3d6e54597ea019775926765628 (patch) | |
tree | 1ca60c1801ac03fa7792455fd58c458d6bb08fea /plugins/mod_component.lua | |
parent | e62e7d0162b757ebdf9cbd8df2f4df1088300097 (diff) | |
download | prosody-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/mod_component.lua')
-rw-r--r-- | plugins/mod_component.lua | 1 |
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); |