Commit 21f92e9e authored by antirez's avatar antirez
Browse files

RESP3: SETNAME option for HELLO.

parent d4d15315
......@@ -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;
......
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