Fixed some spelling issues in ACL codepath including user facing error

This commit is contained in:
Madelyn Olson
2019-06-07 13:20:22 -07:00
parent f674e83215
commit dd5f437871
2 changed files with 12 additions and 12 deletions

View File

@ -3325,7 +3325,7 @@ int processCommand(client *c) {
if (acl_retval == ACL_DENIED_CMD)
addReplyErrorFormat(c,
"-NOPERM this user has no permissions to run "
"the '%s' command or its subcommnad", c->cmd->name);
"the '%s' command or its subcommand", c->cmd->name);
else
addReplyErrorFormat(c,
"-NOPERM this user has no permissions to access "