aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-03-03 00:14:48 +0100
committerKim Alvefur <zash@zash.se>2012-03-03 00:14:48 +0100
commit82925c2003205354bc57d48769eefbc289e825bf (patch)
tree15dca51c5b81151ed3abbc5a9f4f03b863afdcc9 /plugins
parent8f72c46ae033d0f57e37fd1c8e44f94304f8afde (diff)
downloadprosody-82925c2003205354bc57d48769eefbc289e825bf.tar.gz
prosody-82925c2003205354bc57d48769eefbc289e825bf.zip
mod_s2s: return true when we sent the stanza, or initiated a new s2sout
Diffstat (limited to 'plugins')
-rw-r--r--plugins/s2s/mod_s2s.lua2
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