plugins/mod_s2s/s2sout.lib.lua
changeset 5702 a56691e3c7d1
parent 5701 746b263e09cf
child 5703 ea00fc524b95
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