summaryrefslogtreecommitdiff
path: root/src/scripting.c
diff options
context:
space:
mode:
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 "