projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a5b2ef
)
mod_tls: :up() out of the starttls tag in stream:features
author
Matthew Wild
<mwild1@gmail.com>
Sun, 4 Oct 2009 12:24:04 +0000
(13:24 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Sun, 4 Oct 2009 12:24:04 +0000
(13:24 +0100)
plugins/mod_tls.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_tls.lua
b/plugins/mod_tls.lua
index 2b95ec1ea53764df49db559097aebda77e670c71..931937261f994df8b22a2bade396cb3155fb4274 100644
(file)
--- a/
plugins/mod_tls.lua
+++ b/
plugins/mod_tls.lua
@@
-59,7
+59,7
@@
module:add_event_hook("s2s-stream-features",
-- This hook is possibly called once per host (at least if the
-- remote server does not specify a to/from.
if session.conn.starttls and not features:child_with_ns(xmlns_starttls) then
- features:tag("starttls", starttls_attr);
+ features:tag("starttls", starttls_attr)
:up()
;
-- TODO: Make this optional :P
--features:tag("required"):up():up();
end