mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_tls: Fixed an extra :up() in s2s stream feature generation.
This commit is contained in:
parent
b057bc127d
commit
4df5e22f1e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue