Commit fdb57599 authored by antirez's avatar antirez
Browse files

Fix conditional in XGROUP.

parent ad78b50f
......@@ -1716,7 +1716,7 @@ NULL
}
/* Everything but the "HELP" option requires a key and group name. */
if (c->argc > 4) {
if (c->argc >= 4) {
o = lookupKeyWrite(c->db,c->argv[2]);
if (o) s = o->ptr;
grpname = c->argv[3]->ptr;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment