ACL: fix user/rule inverted error message.

This commit is contained in:
antirez 2019-02-04 16:58:35 +01:00
parent 623b17425e
commit 2262dd184d

View File

@ -992,7 +992,7 @@ int ACLLoadConfiguredUsers(void) {
char *errmsg = ACLSetUserStringError();
serverLog(LL_WARNING,"Error loading ACL rule '%s' for "
"the user named '%s': %s",
aclrules[0],aclrules[j],errmsg);
aclrules[j],aclrules[0],errmsg);
return C_ERR;
}
}