Commit 53ba09e0 authored by antirez's avatar antirez
Browse files

ACL: remove useless NULL check.

parent d5fe17dc
...@@ -600,7 +600,7 @@ int ACLCheckCommandPerm(client *c) { ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment