diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/xmppclient_listener.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/xmppclient_listener.lua b/net/xmppclient_listener.lua index dbb87b91..ca892c17 100644 --- a/net/xmppclient_listener.lua +++ b/net/xmppclient_listener.lua @@ -115,6 +115,10 @@ function xmppclient.listener(conn, data) session.log("info", "Client connected"); + if conn.ssl() then + session.secure = true; + end + session.reset_stream = session_reset_stream; session.close = session_close; |