Unverified Commit 456c347d authored by xhe's avatar xhe Committed by GitHub
Browse files

simplify


Co-authored-by: default avatarOran Agra <oran@redislabs.com>
parent 60f13e7a
...@@ -2796,7 +2796,7 @@ void helloCommand(client *c) { ...@@ -2796,7 +2796,7 @@ void helloCommand(client *c) {
} }
/* Let's switch to the specified RESP mode. */ /* Let's switch to the specified RESP mode. */
if (!!ver) c->resp = ver; if (ver) c->resp = ver;
addReplyMapLen(c,6 + !server.sentinel_mode); addReplyMapLen(c,6 + !server.sentinel_mode);
addReplyBulkCString(c,"server"); addReplyBulkCString(c,"server");
......
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