aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2014-05-28 12:44:50 +0100
committerMatthew Wild <mwild1@gmail.com>2014-05-28 12:44:50 +0100
commit79fab46b2dfa7b40d37ee44024adab006bcaaea3 (patch)
treef78830676260961d1eaee4e06caa708d4653da69 /plugins/mod_s2s
parent66aebcb1089d4d10ffeea81a8abfc1fa294449ba (diff)
parent496c55391e317de94d5d62cba4088e5f93aae253 (diff)
downloadprosody-79fab46b2dfa7b40d37ee44024adab006bcaaea3.tar.gz
prosody-79fab46b2dfa7b40d37ee44024adab006bcaaea3.zip
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_s2s')
-rw-r--r--plugins/mod_s2s/mod_s2s.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua
index 4fd71e87..3de59d35 100644
--- a/plugins/mod_s2s/mod_s2s.lua
+++ b/plugins/mod_s2s/mod_s2s.lua
@@ -576,6 +576,8 @@ local function initialize_session(session)
return handlestanza(session, stanza);
end
+ module:fire_event("s2s-created", { session = session });
+
add_task(connect_timeout, function ()
if session.type == "s2sin" or session.type == "s2sout" then
return; -- Ok, we're connected