X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/430602b26cb2b67d168479fd6171dab7357314ce..3e6a4463e02dc4a39cf4f73704dbcabacd7db8ff:/src/redis.c diff --git a/src/redis.c b/src/redis.c index 86cf0d95..9966f945 100644 --- a/src/redis.c +++ b/src/redis.c @@ -1067,6 +1067,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();