Commit d5e4a7f4 authored by antirez's avatar antirez
Browse files

ACL: when client->user is NULL the client is a superuser.

Related to #5832.
parent cc6d05a1
......@@ -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) {
......
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