Change error message for #6775.
This commit is contained in:
parent
b2ccea5f3c
commit
c0bdf0eb73
@ -3499,8 +3499,8 @@ int processCommand(client *c) {
|
|||||||
c->cmd->proc != psubscribeCommand &&
|
c->cmd->proc != psubscribeCommand &&
|
||||||
c->cmd->proc != punsubscribeCommand) {
|
c->cmd->proc != punsubscribeCommand) {
|
||||||
addReplyErrorFormat(c,
|
addReplyErrorFormat(c,
|
||||||
"'%s' command submitted, but only (P)SUBSCRIBE / "
|
"Can't execute '%s': only (P)SUBSCRIBE / "
|
||||||
"(P)UNSUBSCRIBE / PING / QUIT allowed in this context",
|
"(P)UNSUBSCRIBE / PING / QUIT are allowed in this context",
|
||||||
c->cmd->name);
|
c->cmd->name);
|
||||||
return C_OK;
|
return C_OK;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user