X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/de00a5a0929da097ecd46612e83b482698419f08..9120275dc94dfb6b24773412d26d7de70a5675a1:/src/scripting.c 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);