From d5e4a7f43976d14241c56dd65754189fd8569087 Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 12 Feb 2019 09:44:25 +0100 Subject: [PATCH] ACL: when client->user is NULL the client is a superuser. Related to #5832. --- src/networking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/networking.c b/src/networking.c index 621570d5f..23bc97eec 100644 --- a/src/networking.c +++ b/src/networking.c @@ -1800,7 +1800,7 @@ sds catClientInfoString(sds s, client *client) { (unsigned long long) getClientOutputBufferMemoryUsage(client), events, client->lastcmd ? client->lastcmd->name : "NULL", - client->user ? client->user->name : ""); + client->user ? client->user->name : "(superuser)"); } sds getAllClientsInfoString(int type) {