summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--proxy_lua.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/proxy_lua.c b/proxy_lua.c
index f309515..2d38b8e 100644
--- a/proxy_lua.c
+++ b/proxy_lua.c
@@ -826,6 +826,11 @@ static int mcplib_attach(lua_State *L) {
for (int x = loop_start; x < loop_end; x++) {
struct proxy_hook *h = &hooks[x];
+ if (x == CMD_MN) {
+ // disallow overriding MN so client pipeline flushes work.
+ // need to add flush support before allowing override
+ continue;
+ }
lua_pushvalue(L, 2); // duplicate the function for the ref.
if (tag) {