--- a/core/s2smanager.lua Sun Jan 31 15:40:28 2010 +0000 +++ b/core/s2smanager.lua Sun Jan 31 15:41:33 2010 +0000 @@ -321,7 +321,7 @@ end local cl = connlisteners_get("xmppserver"); - conn = wrapclient(conn, connect_host, connect_port, cl, cl.default_mode or 1, hosts[from_host].ssl_ctx, false ); + conn = wrapclient(conn, connect_host, connect_port, cl, cl.default_mode or 1 ); host_session.conn = conn; -- Register this outgoing connection so that xmppserver_listener knows about it