# HG changeset patch # User Kim Alvefur # Date 1364002550 -3600 # Node ID ec3accda44d30141f2d34bccdee6c1893ebcc7a7 # Parent 8984540385248e49e1760f8ca99a95949bc43fb6 mod_tls: More use of config sections removed diff -r 898454038524 -r ec3accda44d3 plugins/mod_tls.lua --- a/plugins/mod_tls.lua Sat Mar 23 02:33:15 2013 +0100 +++ b/plugins/mod_tls.lua Sat Mar 23 02:35:50 2013 +0100 @@ -92,10 +92,10 @@ 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