plugins/mod_s2s/s2sout.lib.lua
changeset 5859 e327f2d4e09f
parent 5799 4a7e90b4c97d
child 6017 ac0879a8190a
--- a/plugins/mod_s2s/s2sout.lib.lua	Sun Oct 06 23:18:54 2013 +0200
+++ b/plugins/mod_s2s/s2sout.lib.lua	Mon Oct 07 12:43:00 2013 +0200
@@ -270,6 +270,7 @@
 	-- Reset secure flag in case this is another
 	-- connection attempt after a failed STARTTLS
 	host_session.secure = nil;
+	host_session.encrypted = nil;
 
 	local conn, handler;
 	local proto = connect_host.proto;