]> git.saurik.com Git - redis.git/blobdiff - src/scripting.c
EVALSHA is now case insensitive.
[redis.git] / src / scripting.c
index 23404338b40989e92d045477de0eb5b241f711ad..d614f42a13f87d14d383604ff59c1224b8d70fa9 100644 (file)
@@ -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);