Diff

plugins/mod_tls.lua @ 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
parent 2853:91143b35a755
child 2872:cdc292d201fc
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