plugins/mod_tls.lua

changeset 1926
e1c5b537f240
parent 1913
da49a59dff7c
child 1938
82342e7f1b84
--- a/plugins/mod_tls.lua	Mon Oct 05 22:15:32 2009 +0100
+++ b/plugins/mod_tls.lua	Tue Oct 06 10:34:13 2009 +0100
@@ -87,5 +87,6 @@
 			local format, to_host, from_host = string.format, session.to_host, session.from_host;
 			session:reset_stream();
 			session.conn.starttls(true);
+			session.secure = false;
 			return true;
 		end);

mercurial