mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 16:48:27 -05:00
In luaRedisGenericCommand check channel return is ACL_DENIED_CHANNEL (#8535)
not ACL_DENIED_AUTH
This commit is contained in:
parent
f745c0181a
commit
e3667cb908
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user