From 40ae582f6676fa68aef5832f4b18493a0e720bdd Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sun, 4 Oct 2009 13:24:04 +0100 Subject: [PATCH] mod_tls: :up() out of the starttls tag in stream:features --- plugins/mod_tls.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2