projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4558eaa
)
mod_tls: require_s2s_encryption -> s2s_require_encryption
author
Matthew Wild
<mwild1@gmail.com>
Mon, 5 Oct 2009 14:00:05 +0000
(15:00 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Mon, 5 Oct 2009 14:00:05 +0000
(15:00 +0100)
plugins/mod_tls.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_tls.lua
b/plugins/mod_tls.lua
index cce6e537629e66e7e979960df2ba50edd78423da..e854d67648a41d03346a27bebf39e0c5ded841c6 100644
(file)
--- a/
plugins/mod_tls.lua
+++ b/
plugins/mod_tls.lua
@@
-12,7
+12,7
@@
local xmlns_stream = 'http://etherx.jabber.org/streams';
local xmlns_starttls = 'urn:ietf:params:xml:ns:xmpp-tls';
local secure_auth_only = module:get_option("c2s_require_encryption") or module:get_option("require_encryption");
-local secure_s2s_only = module:get_option("
require_s2s
_encryption");
+local secure_s2s_only = module:get_option("
s2s_require
_encryption");
module:add_handler("c2s_unauthed", "starttls", xmlns_starttls,
function (session, stanza)