From 3d24cd6bf802eb4a198620f0c9e9cc6985604bb6 Mon Sep 17 00:00:00 2001 From: antirez Date: Sat, 14 Nov 2015 22:16:15 +0100 Subject: [PATCH] Lua debugger: reply +OK to SCRIPT DEBUG no. Thanks to Itamar Haber for reporting. --- src/scripting.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scripting.c b/src/scripting.c index 07719f95..e576e90a 100644 --- a/src/scripting.c +++ b/src/scripting.c @@ -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);