mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
function to access to Redis command from Lua renamed from r() to redis()
This commit is contained in:
parent
7b72272790
commit
00b7541b21
@ -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…
Reference in New Issue
Block a user