Software /
code /
prosody
Comparison
plugins/mod_s2s/s2sout.lib.lua @ 5702:a56691e3c7d1
mod_s2s/s2sout.lib: Remove reference to undefined global
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 18 Jun 2013 12:12:49 +0100 |
parent | 5701:746b263e09cf |
child | 5703:ea00fc524b95 |
comparison
equal
deleted
inserted
replaced
5701:746b263e09cf | 5702:a56691e3c7d1 |
---|---|
46 end | 46 end |
47 | 47 |
48 function s2sout.initiate_connection(host_session) | 48 function s2sout.initiate_connection(host_session) |
49 initialize_filters(host_session); | 49 initialize_filters(host_session); |
50 host_session.version = 1; | 50 host_session.version = 1; |
51 host_session.open_stream = session_open_stream; | |
52 | 51 |
53 -- Kick the connection attempting machine into life | 52 -- Kick the connection attempting machine into life |
54 if not s2sout.attempt_connection(host_session) then | 53 if not s2sout.attempt_connection(host_session) then |
55 -- Intentionally not returning here, the | 54 -- Intentionally not returning here, the |
56 -- session is needed, connected or not | 55 -- session is needed, connected or not |