aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_tls.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_tls.lua b/plugins/mod_tls.lua
index e854d676..c2f83a3a 100644
--- a/plugins/mod_tls.lua
+++ b/plugins/mod_tls.lua
@@ -87,5 +87,6 @@ module:hook_stanza(xmlns_starttls, "proceed",
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);