ACL: remove useless NULL check.

This commit is contained in:
antirez 2019-01-25 13:00:49 +01:00
parent 72b3f7c37b
commit 6b8582a319

View File

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