Fixed typo in CLUSTER RESET implementation.

This commit is contained in:
antirez 2014-05-15 12:33:57 +02:00
parent 796f4ae9f7
commit 7b87cda70e

View File

@ -3799,7 +3799,7 @@ void clusterCommand(redisClient *c) {
if (c->argc == 3) {
if (!strcasecmp(c->argv[2]->ptr,"hard")) {
hard = 1;
} else if (!strcasecmp(c->argv[2]->ptr,"hard")) {
} else if (!strcasecmp(c->argv[2]->ptr,"soft")) {
hard = 0;
} else {
addReply(c,shared.syntaxerr);