diff --git a/lua/zapret-lib.lua b/lua/zapret-lib.lua index c3936f4..560c38a 100644 --- a/lua/zapret-lib.lua +++ b/lua/zapret-lib.lua @@ -875,7 +875,7 @@ function apply_fooling(desync, dis, fooling_options) if type(desync.track.lua_state.autottl_cache)~="table" then desync.track.lua_state.autottl_cache={} end if type(desync.track.lua_state.autottl_cache[desync.func_instance])~="table" then desync.track.lua_state.autottl_cache[desync.func_instance]={} end if not desync.track.lua_state.autottl_cache[desync.func_instance].autottl_found then - attl = parse_autottl(arg_autottl) + local attl = parse_autottl(arg_autottl) if not attl then error("apply_fooling: invalid autottl value '"..arg_autottl.."'") end