diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-02-12 03:14:53 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-02-12 03:14:53 +0500 |
commit | db783f4a21352a560c162932d18d20cc22bb86a9 (patch) | |
tree | a31ce3b13b99d33a92a0227ea1ad289f9937d1f6 | |
parent | 2e726abc77cdfb09f01eb31358ad56d587a9c88e (diff) | |
download | prosody-db783f4a21352a560c162932d18d20cc22bb86a9.tar.gz prosody-db783f4a21352a560c162932d18d20cc22bb86a9.zip |
mod_tls: Fixed an extra :up() in s2s stream feature generation.
-rw-r--r-- | plugins/mod_tls.lua | 2 |
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 |