X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/4365e5b2d32798c168a8376fad891c0e5cccb4ec..395d663d29e6c3fe8fe7c9a3503b96c9bde211f3:/src/scripting.c?ds=sidebyside diff --git a/src/scripting.c b/src/scripting.c index 23404338..d614f42a 100644 --- a/src/scripting.c +++ b/src/scripting.c @@ -532,7 +532,7 @@ void scriptingInit(void) { /* Initialize a dictionary we use to map SHAs to scripts. * This is useful for replication, as we need to replicate EVALSHA * as EVAL, so we need to remember the associated script. */ - server.lua_scripts = dictCreate(&dbDictType,NULL); + server.lua_scripts = dictCreate(&shaScriptObjectDictType,NULL); /* Register the redis commands table and fields */ lua_newtable(lua);