提交 7ef2270e 编写于 作者: A antirez

Change error message for #6775.

上级 456bbc02
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册