aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-03-22 14:50:43 +0000
committerMatthew Wild <mwild1@gmail.com>2013-03-22 14:50:43 +0000
commit923d1aa1bde9a130af31e5ef1279bc3520badcfb (patch)
tree86acdbe46be617cbe72522ab8c1980723329bb3c
parent81bfc7ac9f7e843cdbd248c7f6de30abd4d2a831 (diff)
downloadprosody-923d1aa1bde9a130af31e5ef1279bc3520badcfb.tar.gz
prosody-923d1aa1bde9a130af31e5ef1279bc3520badcfb.zip
s2smanager: Remove unused function parameter
-rw-r--r--core/s2smanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index a6e39705..5777cb8e 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -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;