aboutsummaryrefslogtreecommitdiffstats
path: root/core/s2smanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-03-22 15:16:43 +0000
committerMatthew Wild <mwild1@gmail.com>2013-03-22 15:16:43 +0000
commit4adcfb2d185bb95ec430822c772f091b713faa7a (patch)
tree405a0afb10ef1d47dfd38bb35f78b22d3f98864b /core/s2smanager.lua
parent4f7c31c0f98b9b4fd6ff12e8770dbdd5bff8cea2 (diff)
parent68a7de369b8d2b5701ef6403ce6d3f8d4e7e8fa9 (diff)
downloadprosody-4adcfb2d185bb95ec430822c772f091b713faa7a.tar.gz
prosody-4adcfb2d185bb95ec430822c772f091b713faa7a.zip
Merge 0.9->trunk
Diffstat (limited to 'core/s2smanager.lua')
-rw-r--r--core/s2smanager.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index b034fcae..5777cb8e 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -8,7 +8,7 @@
-local hosts = hosts;
+local hosts = prosody.hosts;
local tostring, pairs, getmetatable, newproxy, setmetatable
= tostring, pairs, getmetatable, newproxy, setmetatable;
@@ -38,7 +38,7 @@ function new_incoming(conn)
return session;
end
-function new_outgoing(from_host, to_host, connect)
+function new_outgoing(from_host, to_host)
local host_session = { to_host = to_host, from_host = from_host, host = from_host,
notopen = true, type = "s2sout_unauthed", direction = "outgoing" };
hosts[from_host].s2sout[to_host] = host_session;