Changeset

2854:ce8ce431c2b8

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 2853:91143b35a755
children 2855:66a1aa0bedc0
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:39:50 2010 +0500
+++ b/plugins/mod_tls.lua	Fri Feb 12 03:14:53 2010 +0500
@@ -68,7 +68,7 @@
 		function (data)
 			local session, features = data.session, data.features;
 			if session.to_host 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