Software /
code /
prosody
Changeset
4566:afd09bfa0884
s2smanager: remove send_to_host.
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Fri, 24 Feb 2012 15:15:43 +0000 |
parents | 4565:5a2212d3468e |
children | 4567:24617f360200 |
files | core/s2smanager.lua |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/core/s2smanager.lua Fri Feb 24 15:14:07 2012 +0000 +++ b/core/s2smanager.lua Fri Feb 24 15:15:43 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);