Unverified Commit e3667cb9 authored by Huang Zw's avatar Huang Zw Committed by GitHub
Browse files

In luaRedisGenericCommand check channel return is ACL_DENIED_CHANNEL (#8535)

not ACL_DENIED_AUTH
parent f745c018
...@@ -619,7 +619,7 @@ int luaRedisGenericCommand(lua_State *lua, int raise_error) { ...@@ -619,7 +619,7 @@ int luaRedisGenericCommand(lua_State *lua, int raise_error) {
"at least one of the keys mentioned in the " "at least one of the keys mentioned in the "
"command arguments"); "command arguments");
break; break;
case ACL_DENIED_AUTH: case ACL_DENIED_CHANNEL:
luaPushError(lua, "The user executing the script can't publish " luaPushError(lua, "The user executing the script can't publish "
"to the channel mentioned in the command"); "to the channel mentioned in the command");
break; break;
......
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