X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/5471b8babddbb99a50010593483f24187e51981a..2fd7c9efdedd81cfa2909ebbcdb30eb9b58d7094:/src/redis.c diff --git a/src/redis.c b/src/redis.c index 7ddeb886..089251b6 100644 --- a/src/redis.c +++ b/src/redis.c @@ -1068,6 +1068,7 @@ void initServerConfig() { server.lua_time_limit = REDIS_LUA_TIME_LIMIT; server.lua_client = NULL; server.lua_timedout = 0; + server.lua_protect_globals = 1; updateLRUClock(); resetServerSaveParams();