diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-05-06 19:20:07 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-05-06 19:20:07 +0100 |
commit | 2368a513e2be77728ffe1339d8560ac9e9149e1d (patch) | |
tree | e4a6f2bf57f84ac2a2f384a6953f2a616b83bb8c /core/s2smanager.lua | |
parent | bc3ae7d5b284d3c9c1b1ad298e1d470a77cee02f (diff) | |
download | prosody-2368a513e2be77728ffe1339d8560ac9e9149e1d.tar.gz prosody-2368a513e2be77728ffe1339d8560ac9e9149e1d.zip |
portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, usermanager, util.xml: Add luacheck annotations
Diffstat (limited to 'core/s2smanager.lua')
-rw-r--r-- | core/s2smanager.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index 59c1831b..a3a8702a 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -49,11 +49,11 @@ local resting_session = { -- Resting, not dead close = function (session) session.log("debug", "Attempt to close already-closed session"); end; - filter = function (type, data) return data; end; + filter = function (type, data) return data; end; --luacheck: ignore 212/type }; resting_session.__index = resting_session; function retire_session(session, reason) - local log = session.log or log; + local log = session.log or log; --luacheck: ignore 431/log for k in pairs(session) do if k ~= "log" and k ~= "id" and k ~= "conn" then session[k] = nil; |