mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
Lua debugger: reply +OK to SCRIPT DEBUG no.
Thanks to Itamar Haber for reporting.
This commit is contained in:
parent
333547dab6
commit
3d24cd6bf8
@ -1465,6 +1465,7 @@ void scriptCommand(client *c) {
|
|||||||
}
|
}
|
||||||
if (!strcasecmp(c->argv[2]->ptr,"no")) {
|
if (!strcasecmp(c->argv[2]->ptr,"no")) {
|
||||||
ldbDisable(c);
|
ldbDisable(c);
|
||||||
|
addReply(c,shared.ok);
|
||||||
} else if (!strcasecmp(c->argv[2]->ptr,"yes")) {
|
} else if (!strcasecmp(c->argv[2]->ptr,"yes")) {
|
||||||
ldbEnable(c);
|
ldbEnable(c);
|
||||||
addReply(c,shared.ok);
|
addReply(c,shared.ok);
|
||||||
|
Loading…
Reference in New Issue
Block a user