diff options
author | antirez <antirez@gmail.com> | 2019-01-11 11:30:09 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2019-01-11 11:30:09 +0100 |
commit | 7f8314760a764a1cfb7405b414e71fc6eba79d90 (patch) | |
tree | 964d4aa0715b410aa01ad86781cee0ee76cd1f7a | |
parent | 6078d85b525f6595893610c99efd8c47bf4b3137 (diff) | |
download | redis-7f8314760a764a1cfb7405b414e71fc6eba79d90.tar.gz |
ACL: modify comment from PR.
-rw-r--r-- | src/server.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/server.c b/src/server.c index 17d479744..a63b7522c 100644 --- a/src/server.c +++ b/src/server.c @@ -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 |