function to access to Redis command from Lua renamed from r() to redis()
This commit is contained in:
parent
4a56ea5b76
commit
d8cdc503e7
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user