diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-10-04 13:24:04 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-10-04 13:24:04 +0100 |
commit | c6ec71bee0acf47e0581ad0c1dad2ed47b59dc8a (patch) | |
tree | cd9433daaebaa9855c76c386be1c304e8090e289 | |
parent | 7f7fb4b522635d810b75839d27429f26d8a401d3 (diff) | |
download | prosody-c6ec71bee0acf47e0581ad0c1dad2ed47b59dc8a.tar.gz prosody-c6ec71bee0acf47e0581ad0c1dad2ed47b59dc8a.zip |
mod_tls: :up() out of the starttls tag in stream:features
-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 2b95ec1e..93193726 100644 --- a/plugins/mod_tls.lua +++ b/plugins/mod_tls.lua @@ -59,7 +59,7 @@ module:add_event_hook("s2s-stream-features", -- This hook is possibly called once per host (at least if the -- remote server does not specify a to/from. if session.conn.starttls and not features:child_with_ns(xmlns_starttls) then - features:tag("starttls", starttls_attr); + features:tag("starttls", starttls_attr):up(); -- TODO: Make this optional :P --features:tag("required"):up():up(); end |