Software /
code /
prosody
Diff
core/portmanager.lua @ 6663:d3023dd07cb6
portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, usermanager, util.xml: Add luacheck annotations
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 06 May 2015 19:20:07 +0100 |
parent | 6549:46d7ede2e037 |
child | 6686:c5b512cddda0 |
line wrap: on
line diff
--- a/core/portmanager.lua Wed May 06 19:17:59 2015 +0100 +++ b/core/portmanager.lua Wed May 06 19:20:07 2015 +0100 @@ -41,7 +41,7 @@ --- Private helpers -local function error_to_friendly_message(service_name, port, err) +local function error_to_friendly_message(service_name, port, err) --luacheck: ignore 212/service_name local friendly_message = err; if err:match(" in use") then -- FIXME: Use service_name here