MINOR: hlua: Stop to check the SC state when executing a hlua cli command
This part has changed but it was already handled by the CLI applet. There is
no reason to performe this test when a hlua cli command is executed.
diff --git a/src/hlua.c b/src/hlua.c
index 84b606e..6bbf5c9 100644
--- a/src/hlua.c
+++ b/src/hlua.c
@@ -10870,10 +10870,6 @@
sc = appctx_sc(appctx);
fcn = ctx->fcn;
- /* If the stream is disconnect or closed, ldo nothing. */
- if (unlikely(sc->state == SC_ST_DIS || sc->state == SC_ST_CLO))
- return 1;
-
/* Execute the function. */
switch (hlua_ctx_resume(hlua, 1)) {