From 7f8314760a764a1cfb7405b414e71fc6eba79d90 Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 11 Jan 2019 11:30:09 +0100 Subject: [PATCH] ACL: modify comment from PR. --- src/server.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/server.c b/src/server.c index 17d47974..a63b7522 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