From: antirez Date: Sun, 1 May 2011 10:49:02 +0000 (+0200) Subject: function to access to Redis command from Lua renamed from r() to redis() X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/00b7541b21f5d659a6fe650679c1f790fe6ea4b1 function to access to Redis command from Lua renamed from r() to redis() --- 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 */