mirror of
https://github.com/fluencelabs/redis
synced 2025-05-01 13:32:13 +00:00
Old form of CLIENT KILL should still allow suicide.
This commit is contained in:
parent
32ebb3e651
commit
ac6b656fd6
@ -1335,6 +1335,7 @@ void clientCommand(redisClient *c) {
|
||||
if (c->argc == 3) {
|
||||
/* Old style syntax: CLIENT KILL <addr> */
|
||||
addr = c->argv[2]->ptr;
|
||||
skipme = 0; /* With the old form, you can kill yourself. */
|
||||
} else if (c->argc > 3) {
|
||||
int i = 2; /* Next option index. */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user