ACL: modify comment from PR.

This commit is contained in:
antirez 2019-01-11 11:30:09 +01:00
parent 6078d85b52
commit 7f8314760a

View File

@ -4022,9 +4022,8 @@ int main(int argc, char **argv) {
dictSetHashFunctionSeed((uint8_t*)hashseed);
server.sentinel_mode = checkForSentinelMode(argc,argv);
initServerConfig();
/* ACLInit should run before calling moduleInitModulesSystem */
ACLInit();
ACLInit(); /* The ACL subsystem must be initialized ASAP because the
basic networking code and client creation depends on it. */
moduleInitModulesSystem();
/* Store the executable path and arguments in a safe place in order