Commit 3d24cd6b authored by antirez's avatar antirez
Browse files

Lua debugger: reply +OK to SCRIPT DEBUG no.

Thanks to Itamar Haber for reporting.
parent 333547da
......@@ -1465,6 +1465,7 @@ void scriptCommand(client *c) {
}
if (!strcasecmp(c->argv[2]->ptr,"no")) {
ldbDisable(c);
addReply(c,shared.ok);
} else if (!strcasecmp(c->argv[2]->ptr,"yes")) {
ldbEnable(c);
addReply(c,shared.ok);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment