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
commit4e5f5c41ae551495d5f14ae777de2ad27845b428 (patch)
tree8649cf96cdf26bb340d6764c7ca44be3a81526cc
parent2f7ac943416fa13023e9d061ffc8020811a4ebf0 (diff)
downloadprosody-4e5f5c41ae551495d5f14ae777de2ad27845b428.tar.gz
prosody-4e5f5c41ae551495d5f14ae777de2ad27845b428.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);