Commit 00b7541b authored by antirez's avatar antirez
Browse files

function to access to Redis command from Lua renamed from r() to redis()

parent 7b722727
...@@ -61,7 +61,7 @@ void scriptingInit(void) { ...@@ -61,7 +61,7 @@ void scriptingInit(void) {
/* Register the 'r' command */ /* Register the 'r' command */
lua_pushcfunction(lua,luaRedisCommand); lua_pushcfunction(lua,luaRedisCommand);
lua_setglobal(lua,"r"); lua_setglobal(lua,"redis");
/* Create the (non connected) client that we use to execute Redis commands /* Create the (non connected) client that we use to execute Redis commands
* inside the Lua interpreter */ * inside the Lua interpreter */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment