summaryrefslogtreecommitdiff
path: root/src/lcorolib.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lcorolib.js')
-rw-r--r--src/lcorolib.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lcorolib.js b/src/lcorolib.js
index eb402b8..a52abf5 100644
--- a/src/lcorolib.js
+++ b/src/lcorolib.js
@@ -38,7 +38,7 @@ const { to_luastring } = require("./fengaricore.js");
const getco = function(L) {
let co = lua_tothread(L, 1);
- luaL_argcheck(L, co, 1, to_luastring("thread expected", true));
+ luaL_argcheck(L, co, 1, "thread expected");
return co;
};