mod_tls: Fixed an extra :up() in s2s stream feature generation.

This commit is contained in:
Waqas Hussain 2010-02-12 03:14:53 +05:00
parent b057bc127d
commit 4df5e22f1e

View file

@ -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