Mercurial > prosody-hg
diff core/s2smanager.lua @ 4573:09255a10fdfa
Merge Zash with Florob and Maranda
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Fri, 24 Feb 2012 16:23:46 +0000 |
| parents | afd09bfa0884 |
| children | 79c813c4ecc0 |
line wrap: on
line diff
--- a/core/s2smanager.lua Thu Feb 23 23:12:24 2012 +0100 +++ b/core/s2smanager.lua Fri Feb 24 16:23:46 2012 +0000 @@ -114,10 +114,7 @@ local from, to = session.from_host, session.to_host; session.log("info", session.direction.." s2s connection "..from.."->"..to.." complete"); - - local send_to_host = send_to_host; - function session.send(data) return send_to_host(to, from, data); end - + local event_data = { session = session }; if session.type == "s2sout" then prosody.events.fire_event("s2sout-established", event_data);
