Mercurial > prosody-hg
diff core/portmanager.lua @ 10538:71b82567245c
core.portmanager: Ignore unused return variable [luacheck]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 23 Dec 2019 21:26:51 +0100 |
| parents | 7341d2f4749a |
| children | 85f1cbfd364a |
line wrap: on
line diff
--- a/core/portmanager.lua Mon Dec 23 21:16:10 2019 +0100 +++ b/core/portmanager.lua Mon Dec 23 21:26:51 2019 +0100 @@ -237,6 +237,7 @@ 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;
