ACL: fix setting of FAST flag.

This commit is contained in:
antirez 2019-02-12 17:06:26 +01:00
parent b9c97c0b2e
commit bfdcfbb3ed

View File

@ -2914,10 +2914,10 @@ int populateCommandTableParseFlags(struct redisCommand *c, char *strflags) {
return C_ERR;
}
}
/* If it's not @fast is @slow in this binary world. */
if (!(c->flags & CMD_CATEGORY_FAST)) c->flags |= CMD_CATEGORY_SLOW;
}
/* If it's not @fast is @slow in this binary world. */
if (!(c->flags & CMD_CATEGORY_FAST)) c->flags |= CMD_CATEGORY_SLOW;
sdsfreesplitres(argv,argc);
return C_OK;
}