# HG changeset patch # User Waqas Hussain # Date 1265926493 -18000 # Node ID ce8ce431c2b85c7b2fd25555bc3838fd8252248d # Parent 91143b35a7555a8fea887a088bb269aa7fc5cdd9 mod_tls: Fixed an extra :up() in s2s stream feature generation. diff -r 91143b35a755 -r ce8ce431c2b8 plugins/mod_tls.lua --- 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