diff --git a/src/networking.c b/src/networking.c index 78d18086..7b6f46b3 100644 --- a/src/networking.c +++ b/src/networking.c @@ -1362,6 +1362,7 @@ void clientCommand(redisClient *c) { if (c->argc == 3) { /* Old style syntax: CLIENT KILL */ 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. */