aboutsummaryrefslogtreecommitdiffstats
path: root/core/s2smanager.lua
diff options
context:
space:
mode:
authorFlorian Zeitz <florob@babelmonkeys.de>2012-02-24 15:15:43 +0000
committerFlorian Zeitz <florob@babelmonkeys.de>2012-02-24 15:15:43 +0000
commit8f06587c5070d361bb41d39c4c92a57b49c4dfea (patch)
treead8c5432105059c2f0926e77b1a26aa352766860 /core/s2smanager.lua
parent4c9c8363bca9bbe87c34f102567cff7a9e539107 (diff)
downloadprosody-8f06587c5070d361bb41d39c4c92a57b49c4dfea.tar.gz
prosody-8f06587c5070d361bb41d39c4c92a57b49c4dfea.zip
s2smanager: remove send_to_host.
Diffstat (limited to 'core/s2smanager.lua')
-rw-r--r--core/s2smanager.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index e61aaccb..6877ee18 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -114,10 +114,7 @@ function mark_connected(session)
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);