From 46319094dba97e1e5627ad52687d8d9dab26c070 Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 24 Jun 2014 12:49:18 +0200 Subject: [PATCH] Old form of CLIENT KILL should still allow suicide. --- src/networking.c | 1 + 1 file changed, 1 insertion(+) 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. */