# HG changeset patch # User Kim Alvefur # Date 1485056635 -3600 # Node ID 20f9d71507778b7f8e3a36559c01b6d4b557da35 # Parent 17539a5d73f432c530caf772997a2bd6aaddc665 mod_net_dovecotauth: Make variable local [luacheck] diff -r 17539a5d73f4 -r 20f9d7150777 mod_net_dovecotauth/mod_net_dovecotauth.lua --- 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;