diff --git a/src/scripting.c b/src/scripting.c index bde532ca..d3c18663 100644 --- a/src/scripting.c +++ b/src/scripting.c @@ -61,7 +61,7 @@ void scriptingInit(void) { /* Register the 'r' command */ lua_pushcfunction(lua,luaRedisCommand); - lua_setglobal(lua,"r"); + lua_setglobal(lua,"redis"); /* Create the (non connected) client that we use to execute Redis commands * inside the Lua interpreter */