aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/s2s
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-02-23 23:12:24 +0100
committerKim Alvefur <zash@zash.se>2012-02-23 23:12:24 +0100
commitddef415e167351b9197a06bfd1d401e70dd37e13 (patch)
treea345d205814fb721a62fb577dc61591b11eacf72 /plugins/s2s
parentcf1aa003da3524d839effd7c9f7dd5eb1a46510d (diff)
downloadprosody-ddef415e167351b9197a06bfd1d401e70dd37e13.tar.gz
prosody-ddef415e167351b9197a06bfd1d401e70dd37e13.zip
s2sout.lib: Fix wrong variable name
Diffstat (limited to 'plugins/s2s')
-rw-r--r--plugins/s2s/s2sout.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/s2s/s2sout.lib.lua b/plugins/s2s/s2sout.lib.lua
index 04a5c072..64786862 100644
--- a/plugins/s2s/s2sout.lib.lua
+++ b/plugins/s2s/s2sout.lib.lua
@@ -45,7 +45,7 @@ end
function s2sout.initiate_connection(host_session)
initialize_filters(host_session);
- session.open_stream = session_open_stream;
+ host_session.open_stream = session_open_stream;
-- Kick the connection attempting machine into life
if not s2sout.attempt_connection(host_session) then