aboutsummaryrefslogtreecommitdiff
path: root/src/intercopycontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/intercopycontext.cpp')
-rw-r--r--src/intercopycontext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intercopycontext.cpp b/src/intercopycontext.cpp
index 3557c7b..07eea24 100644
--- a/src/intercopycontext.cpp
+++ b/src/intercopycontext.cpp
@@ -196,7 +196,7 @@ void InterCopyContext::copy_func() const
196 // not sure this could ever fail but for memory shortage reasons 196 // not sure this could ever fail but for memory shortage reasons
197 // last parameter is Lua 5.4-specific (no stripping) 197 // last parameter is Lua 5.4-specific (no stripping)
198 luaL_Buffer B{}; 198 luaL_Buffer B{};
199 if (lua504_dump(L1, buf_writer, &B, 0) != 0) { 199 if (lua504_dump(L1, buf_writer, &B, U->stripFunctions) != 0) {
200 raise_luaL_error(getErrL(), "internal error: function dump failed."); 200 raise_luaL_error(getErrL(), "internal error: function dump failed.");
201 } 201 }
202 202