diff options
author | Kim Alvefur <zash@zash.se> | 2012-03-03 00:14:48 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-03-03 00:14:48 +0100 |
commit | 8dd4570ed5e6b89821f66b062c57cbebf187238b (patch) | |
tree | 15dca51c5b81151ed3abbc5a9f4f03b863afdcc9 /plugins/s2s/mod_s2s.lua | |
parent | ee772304c50323d20d5ae4bd8b3ebe0e2badf69c (diff) | |
download | prosody-8dd4570ed5e6b89821f66b062c57cbebf187238b.tar.gz prosody-8dd4570ed5e6b89821f66b062c57cbebf187238b.zip |
mod_s2s: return true when we sent the stanza, or initiated a new s2sout
Diffstat (limited to 'plugins/s2s/mod_s2s.lua')
-rw-r--r-- | plugins/s2s/mod_s2s.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/s2s/mod_s2s.lua b/plugins/s2s/mod_s2s.lua index c00ff653..de3ad4e1 100644 --- a/plugins/s2s/mod_s2s.lua +++ b/plugins/s2s/mod_s2s.lua @@ -90,6 +90,7 @@ module:hook("route/remote", function (event) end host.sends2s(stanza); host.log("debug", "stanza sent over "..host.type); + return true; end end end, 200); @@ -112,6 +113,7 @@ module:hook("route/remote", function (event) end return false; end + return true; end, 100); --- Helper to check that a session peer's certificate is valid |