aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_tls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_tls.lua')
-rw-r--r--plugins/mod_tls.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_tls.lua b/plugins/mod_tls.lua
index 90985874..3a5940b9 100644
--- a/plugins/mod_tls.lua
+++ b/plugins/mod_tls.lua
@@ -52,7 +52,7 @@ module:hook("s2s-stream-features",
function (data)
local session, features = data.session, data.features;
if session.to_host and session.type ~= "s2sin" and session.conn.starttls then
- features:tag("starttls", starttls_attr):up();
+ features:tag("starttls", starttls_attr)
if secure_s2s_only then
features:tag("required"):up():up();
else