mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
RESP3: SETNAME option for HELLO.
This commit is contained in:
parent
d4d15315a8
commit
21f92e9e34
@ -2057,6 +2057,9 @@ void helloCommand(client *c) {
|
||||
return;
|
||||
}
|
||||
j += 2;
|
||||
} else if (!strcasecmp(opt,"SETNAME") && moreargs) {
|
||||
if (clientSetNameOrReply(c, c->argv[j+1]) == C_ERR) return;
|
||||
j++;
|
||||
} else {
|
||||
addReplyErrorFormat(c,"Syntax error in HELLO option '%s'",opt);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user