mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
Streams: remove meaningless if condition.
It's already checked if xreadgroup is set and groupname is NULL.
This commit is contained in:
parent
6501b6bb6d
commit
846cf12ae5
@ -1365,7 +1365,7 @@ void xreadCommand(client *c) {
|
||||
}
|
||||
continue;
|
||||
} else if (strcmp(c->argv[i]->ptr,">") == 0) {
|
||||
if (!xreadgroup || groupname == NULL) {
|
||||
if (!xreadgroup) {
|
||||
addReplyError(c,"The > ID can be specified only when calling "
|
||||
"XREADGROUP using the GROUP <group> "
|
||||
"<consumer> option.");
|
||||
|
Loading…
Reference in New Issue
Block a user