]> git.saurik.com Git - redis.git/blobdiff - src/redis.c
Tests for lua globals protection.
[redis.git] / src / redis.c
index 7ddeb886c216e7235db83b3629b4da34b58644ac..089251b685d55ca647735db5f9d0217574010755 100644 (file)
@@ -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();