From 00b7541b21f5d659a6fe650679c1f790fe6ea4b1 Mon Sep 17 00:00:00 2001 From: antirez Date: Sun, 1 May 2011 12:49:02 +0200 Subject: [PATCH] function to access to Redis command from Lua renamed from r() to redis() --- src/scripting.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.45.2