From 1cd5b00d25478b35deba1329d95a342062c51d4c Mon Sep 17 00:00:00 2001 From: daurnimator Date: Fri, 20 Apr 2018 22:19:16 +1000 Subject: src/l*lib.js: Remove some uses of caching to_luastring --- src/loslib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/loslib.js') diff --git a/src/loslib.js b/src/loslib.js index 814d1b2..66bcb18 100644 --- a/src/loslib.js +++ b/src/loslib.js @@ -141,7 +141,7 @@ const os_date = function(L) { } if (stm === null) /* invalid date? */ - luaL_error(L, to_luastring("time result cannot be represented in this installation", true)); + luaL_error(L, to_luastring("time result cannot be represented in this installation")); if (s[i] === "*".charCodeAt(0) && s[i+1] === "t".charCodeAt(0)) { lua_createtable(L, 0, 9); /* 9 = number of fields */ setallfields(L, stm, utc); -- cgit v1.2.3-54-g00ecf