Changeset

2604:ed32f7bad620

mod_tls: Fixed an extra :up() in s2s stream feature generation.
author Waqas Hussain <waqas20@gmail.com>
date Fri, 12 Feb 2010 03:14:53 +0500
parents 2603:3a77cc94b85c
children 2605:ade70495fe7f
files plugins/mod_tls.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_tls.lua	Fri Feb 12 02:50:57 2010 +0500
+++ b/plugins/mod_tls.lua	Fri Feb 12 03:14:53 2010 +0500
@@ -52,7 +52,7 @@
 		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