aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_tls.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-03-23 02:35:50 +0100
committerKim Alvefur <zash@zash.se>2013-03-23 02:35:50 +0100
commit16c7c4e78d92b0c86466fe2e4851617665463193 (patch)
tree533600d839dc89d8baadb224d54c14ab9ec98380 /plugins/mod_tls.lua
parent1acfdf5914a91071da52f2203dce90ec3c30d5ba (diff)
downloadprosody-16c7c4e78d92b0c86466fe2e4851617665463193.tar.gz
prosody-16c7c4e78d92b0c86466fe2e4851617665463193.zip
mod_tls: More use of config sections removed
Diffstat (limited to 'plugins/mod_tls.lua')
-rw-r--r--plugins/mod_tls.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_tls.lua b/plugins/mod_tls.lua
index 2fcf5f03..80b56abb 100644
--- a/plugins/mod_tls.lua
+++ b/plugins/mod_tls.lua
@@ -92,10 +92,10 @@ module:hook_stanza(xmlns_starttls, "proceed", function (session, stanza)
end);
function module.load()
- local ssl_config = config.rawget(module.host, "core", "ssl");
+ local ssl_config = config.rawget(module.host, "ssl");
if not ssl_config then
local base_host = module.host:match("%.(.*)");
- ssl_config = config.get(base_host, "core", "ssl");
+ ssl_config = config.get(base_host, "ssl");
end
host.ssl_ctx = create_context(host.host, "client", ssl_config); -- for outgoing connections
host.ssl_ctx_in = create_context(host.host, "server", ssl_config); -- for incoming connections