summaryrefslogtreecommitdiff
path: root/src/scripting.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2020-01-27 18:37:52 +0100
committerantirez <antirez@gmail.com>2020-01-27 18:37:52 +0100
commit3e9e27e98fa7ecdbb5a34676e51cda54de671d8a (patch)
tree130fefddb0528822ecfabc42642526f79c74b00d /src/scripting.c
parent7ef2270ee73e75b00b0c1bde40fb1df55c7ec6ff (diff)
downloadredis-3e9e27e98fa7ecdbb5a34676e51cda54de671d8a.tar.gz
ACL LOG: data structures and initial functions.
Diffstat (limited to 'src/scripting.c')
-rw-r--r--src/scripting.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripting.c b/src/scripting.c
index 9282b7fd9..0e47ebcb0 100644
--- a/src/scripting.c
+++ b/src/scripting.c
@@ -606,7 +606,7 @@ int luaRedisGenericCommand(lua_State *lua, int raise_error) {
}
/* Check the ACLs. */
- int acl_retval = ACLCheckCommandPerm(c);
+ int acl_retval = ACLCheckCommandPerm(c,NULL);
if (acl_retval != ACL_OK) {
if (acl_retval == ACL_DENIED_CMD)
luaPushError(lua, "The user executing the script can't run this "