ACL: remove useless NULL check.

This commit is contained in:
antirez 2019-01-25 13:00:49 +01:00
parent d495650ceb
commit 9e4c9419db

View File

@ -600,7 +600,7 @@ int ACLCheckCommandPerm(client *c) {
return ACL_DENIED_KEY;
}
}
if (keyidx) getKeysFreeResult(keyidx);
getKeysFreeResult(keyidx);
}
/* If we survived all the above checks, the user can execute the