diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-02-12 03:14:53 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-02-12 03:14:53 +0500 |
commit | 4df5e22f1e38b4c5e750e81a8d7eaeaffef24ec8 (patch) | |
tree | ab49d34de014426c44fd1cd22d5e4bda850c05fb /plugins/mod_tls.lua | |
parent | b057bc127d27b5fa2d3ea793b3db6ff865b9a682 (diff) | |
download | prosody-4df5e22f1e38b4c5e750e81a8d7eaeaffef24ec8.tar.gz prosody-4df5e22f1e38b4c5e750e81a8d7eaeaffef24ec8.zip |
mod_tls: Fixed an extra :up() in s2s stream feature generation.
Diffstat (limited to 'plugins/mod_tls.lua')
-rw-r--r-- | plugins/mod_tls.lua | 2 |
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 |