aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-02-12 03:14:53 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-02-12 03:14:53 +0500
commitdb783f4a21352a560c162932d18d20cc22bb86a9 (patch)
treea31ce3b13b99d33a92a0227ea1ad289f9937d1f6
parent2e726abc77cdfb09f01eb31358ad56d587a9c88e (diff)
downloadprosody-db783f4a21352a560c162932d18d20cc22bb86a9.tar.gz
prosody-db783f4a21352a560c162932d18d20cc22bb86a9.zip
mod_tls: Fixed an extra :up() in s2s stream feature generation.
-rw-r--r--plugins/mod_tls.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_tls.lua b/plugins/mod_tls.lua
index fb1433da..49ee18c9 100644
--- a/plugins/mod_tls.lua
+++ b/plugins/mod_tls.lua
@@ -68,7 +68,7 @@ module:hook("s2s-stream-features",
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