In luaRedisGenericCommand check channel return is ACL_DENIED_CHANNEL (#8535)

not ACL_DENIED_AUTH
This commit is contained in:
Huang Zw
2021-02-23 16:55:10 -08:00
committed by GitHub
parent f745c0181a
commit e3667cb908
+1 -1
View File
@@ -619,7 +619,7 @@ int luaRedisGenericCommand(lua_State *lua, int raise_error) {
"at least one of the keys mentioned in the "
"command arguments");
break;
case ACL_DENIED_AUTH:
case ACL_DENIED_CHANNEL:
luaPushError(lua, "The user executing the script can't publish "
"to the channel mentioned in the command");
break;