aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-05-13 17:07:30 +0100
committerMatthew Wild <mwild1@gmail.com>2015-05-13 17:07:30 +0100
commit87c31947552d1ccd1695c8c1c7279db1ffe648a0 (patch)
tree8649cf96cdf26bb340d6764c7ca44be3a81526cc
parent9bd85eabf029220d25431ab17bc86bf308b51b8d (diff)
downloadprosody-87c31947552d1ccd1695c8c1c7279db1ffe648a0.tar.gz
prosody-87c31947552d1ccd1695c8c1c7279db1ffe648a0.zip
portmanager: Add luacheck annotations
-rw-r--r--core/portmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua
index bbb7c215..ca99a1dd 100644
--- a/core/portmanager.lua
+++ b/core/portmanager.lua
@@ -152,7 +152,7 @@ function activate(service_name)
end
function deactivate(service_name, service_info)
- for name, interface, port, n, active_service
+ for name, interface, port, n, active_service --luacheck: ignore 213/name 213/n
in active_services:iter(service_name or service_info and service_info.name, nil, nil, nil) do
if service_info == nil or active_service.service == service_info then
close(interface, port);