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
commit003b31a798e219bdcc3e316b3c7d89591ef3b12a (patch)
treef78830676260961d1eaee4e06caa708d4653da69 /plugins/mod_s2s
parent584982206dcd97ea12c23f793e1403d0794fc4b6 (diff)
parentde783efad25172674d477833d50eb5d3526b7430 (diff)
downloadprosody-003b31a798e219bdcc3e316b3c7d89591ef3b12a.tar.gz
prosody-003b31a798e219bdcc3e316b3c7d89591ef3b12a.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