Change error message for #6775.

This commit is contained in:
antirez 2020-01-15 17:55:24 +01:00
parent 456bbc02c8
commit 7ef2270ee7
1 changed files with 2 additions and 2 deletions

View File

@ -3499,8 +3499,8 @@ int processCommand(client *c) {
c->cmd->proc != psubscribeCommand &&
c->cmd->proc != punsubscribeCommand) {
addReplyErrorFormat(c,
"'%s' command submitted, but only (P)SUBSCRIBE / "
"(P)UNSUBSCRIBE / PING / QUIT allowed in this context",
"Can't execute '%s': only (P)SUBSCRIBE / "
"(P)UNSUBSCRIBE / PING / QUIT are allowed in this context",
c->cmd->name);
return C_OK;
}