mod_websocket: Don't offer starttls
authorFlorian Zeitz <florob@babelmonkeys.de>
Thu, 25 Oct 2012 17:45:08 +0200
changeset 853 4d27552ac443
parent 852 6c2b77f97e62
child 854 1c64ab8ae374
mod_websocket: Don't offer starttls
mod_websocket/mod_websocket.lua
--- a/mod_websocket/mod_websocket.lua	Thu Oct 25 00:15:23 2012 +0000
+++ b/mod_websocket/mod_websocket.lua	Thu Oct 25 17:45:08 2012 +0200
@@ -294,6 +294,8 @@
 
 	session.close = session_close;
 
+	session.conn.starttls = nil;
+
 	local stream = new_xmpp_stream(session, stream_callbacks);
 	session.stream = stream;
 	session.notopen = true;