Software /
code /
prosody
Diff
core/portmanager.lua @ 6686:c5b512cddda0
portmanager: Add luacheck annotations
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 13 May 2015 17:07:30 +0100 |
parent | 6663:d3023dd07cb6 |
child | 6687:d1ee04683689 |
line wrap: on
line diff
--- a/core/portmanager.lua Wed May 13 16:57:27 2015 +0100 +++ b/core/portmanager.lua Wed May 13 17:07:30 2015 +0100 @@ -152,7 +152,7 @@ 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);