diff options
Diffstat (limited to 'src/lcorolib.js')
-rw-r--r-- | src/lcorolib.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lcorolib.js b/src/lcorolib.js index a72d22b..321331b 100644 --- a/src/lcorolib.js +++ b/src/lcorolib.js @@ -5,7 +5,7 @@ const lauxlib = require('./lauxlib.js'); const getco = function(L) { let co = lua.lua_tothread(L, 1); - lauxlib.luaL_argcheck(L, co, 1, lua.to_luastring("thread expected", true)); + lauxlib.luaL_argcheck(L, co, 1, "thread expected"); return co; }; |