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 | b4fa48b3c737faeab14b5a16a076085181a779c1 (patch) | |
tree | b684b66253268225d43196b388f38bfac5785bc3 /core | |
parent | 79df4b5cc14a57ff8d9b50b5eb101c2c994aa692 (diff) | |
download | prosody-b4fa48b3c737faeab14b5a16a076085181a779c1.tar.gz prosody-b4fa48b3c737faeab14b5a16a076085181a779c1.zip |
core.portmanager: Ignore unused return variable [luacheck]
Diffstat (limited to 'core')
-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; |