Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
8e9d19bc
Commit
8e9d19bc
authored
Jan 15, 2020
by
antirez
Browse files
Change error message for #6775.
parent
ba146d4c
Changes
1
Show whitespace changes
Inline
Side-by-side
src/server.c
View file @
8e9d19bc
...
@@ -3499,8 +3499,8 @@ int processCommand(client *c) {
...
@@ -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;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment