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
commitc908af2a7d0aaf8c7448273fc57a2b284fb5fb29 (patch)
tree86acdbe46be617cbe72522ab8c1980723329bb3c
parent5f6e150c615ad3e86b2d56aeebe0d8a329eba645 (diff)
downloadprosody-c908af2a7d0aaf8c7448273fc57a2b284fb5fb29.tar.gz
prosody-c908af2a7d0aaf8c7448273fc57a2b284fb5fb29.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;