From c62b66fd5b3880f92c56c46aebc6ecb3fb45b0be 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 d12adb71..b81b5646 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);