mod_net_dovecotauth: Rename variable to avoid name clash [luacheck]
--- a/mod_net_dovecotauth/mod_net_dovecotauth.lua Sun Jan 22 04:43:55 2017 +0100 +++ b/mod_net_dovecotauth/mod_net_dovecotauth.lua Sun Jan 22 04:47:06 2017 +0100 @@ -31,11 +31,11 @@ local sess_mt = { __index = sess }; function new_session(conn) - local sess = { type = "?", conn = conn, buf = "", sasl = {} } - function sess:log(l, m, ...) + local s = { type = "?", conn = conn, buf = "", sasl = {} } + function s:log(l, m, ...) return module:log(l, self.type..tonumber(tostring(self):match("%x+$"), 16)..": "..m, ...); end - return setmetatable(sess, sess_mt); + return setmetatable(s, sess_mt); end function sess:send(...)