mirror of
https://github.com/fluencelabs/redis
synced 2025-04-25 18:42:13 +00:00
Change error message for #6775.
This commit is contained in:
parent
456bbc02c8
commit
7ef2270ee7
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user