Mercurial > prosody-modules
diff mod_net_dovecotauth/mod_net_dovecotauth.lua @ 2458:20f9d7150777
mod_net_dovecotauth: Make variable local [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 22 Jan 2017 04:43:55 +0100 |
parents | 17539a5d73f4 |
children | 8e686bf63441 |
line wrap: on
line diff
--- a/mod_net_dovecotauth/mod_net_dovecotauth.lua Sun Jan 22 04:42:55 2017 +0100 +++ b/mod_net_dovecotauth/mod_net_dovecotauth.lua Sun Jan 22 04:43:55 2017 +0100 @@ -149,7 +149,7 @@ local listener = {} function listener.onconnect(conn) - s = new_session(conn); + local s = new_session(conn); sessions[conn] = s; local g_sasl = new_sasl(default_vhost, s); s.g_sasl = g_sasl;