# HG changeset patch
# User Kim Alvefur
# Date 1485056826 -3600
# Node ID 8e686bf634418c9bc2fad2a6343de751c32e7849
# Parent 20f9d71507778b7f8e3a36559c01b6d4b557da35
mod_net_dovecotauth: Rename variable to avoid name clash [luacheck]
diff -r 20f9d7150777 -r 8e686bf63441 mod_net_dovecotauth/mod_net_dovecotauth.lua
--- 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(...)