Software /
code /
prosody
Changeset
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 | 10537:c5558138ce33 |
children | 10539:25f80afb1631 |
files | core/portmanager.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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;