diff options
author | Kim Alvefur <zash@zash.se> | 2019-12-23 21:26:51 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-12-23 21:26:51 +0100 |
commit | c4c6a44c3089cafa59bdea640e0a2e90951a9058 (patch) | |
tree | b684b66253268225d43196b388f38bfac5785bc3 /core/portmanager.lua | |
parent | 0c9d47f6ff0bfae6f16040c64c15f041794bc08e (diff) | |
download | prosody-c4c6a44c3089cafa59bdea640e0a2e90951a9058.tar.gz prosody-c4c6a44c3089cafa59bdea640e0a2e90951a9058.zip |
core.portmanager: Ignore unused return variable [luacheck]
Diffstat (limited to 'core/portmanager.lua')
-rw-r--r-- | core/portmanager.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua index 99656e3e..0712f5ac 100644 --- a/core/portmanager.lua +++ b/core/portmanager.lua @@ -237,6 +237,7 @@ local function add_sni_host(host, service) if config_prefix == "_" then config_prefix = ""; end local prefix_ssl_config = config.get(host, config_prefix.."ssl"); local autocert = certmanager.find_host_cert(host); + -- luacheck: ignore 211/cfg local ssl, err, cfg = certmanager.create_context(host, "server", prefix_ssl_config, autocert, active_service.tls_cfg); if ssl then active_service.server.hosts[host] = ssl; |