aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/s2s/s2sout.lib.lua
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
commitf397b79717e372748b156e4874d0b0a483a2c134 (patch)
treea345d205814fb721a62fb577dc61591b11eacf72 /plugins/s2s/s2sout.lib.lua
parentafe54f2fbdd6494e198b238f795036211b1467dc (diff)
downloadprosody-f397b79717e372748b156e4874d0b0a483a2c134.tar.gz
prosody-f397b79717e372748b156e4874d0b0a483a2c134.zip
s2sout.lib: Fix wrong variable name
Diffstat (limited to 'plugins/s2s/s2sout.lib.lua')
-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