equal
deleted
inserted
replaced
728 |
728 |
729 local filter = initialize_filters(session); |
729 local filter = initialize_filters(session); |
730 local conn = session.conn; |
730 local conn = session.conn; |
731 local w = conn.write; |
731 local w = conn.write; |
732 |
732 |
|
733 if conn:ssl() then |
|
734 session_secure(session); |
|
735 end |
|
736 |
733 function session.sends2s(t) |
737 function session.sends2s(t) |
734 log("debug", "Sending[%s]: %s", session.type, t.top_tag and t:top_tag() or t:match("^[^>]*>?")); |
738 log("debug", "Sending[%s]: %s", session.type, t.top_tag and t:top_tag() or t:match("^[^>]*>?")); |
735 if t.name then |
739 if t.name then |
736 t = filter("stanzas/out", t); |
740 t = filter("stanzas/out", t); |
737 end |
741 end |