ACL: when client->user is NULL the client is a superuser.
Related to #5832.
This commit is contained in:
parent
cc6d05a1f7
commit
d5e4a7f439
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user