summaryrefslogtreecommitdiff
path: root/src/ltm.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-02-13 11:39:43 +0100
committerBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-02-13 11:44:08 +0100
commit7236b4bf648ba2fffc83d0b031766208a183e52b (patch)
treed9963576bd6cb16a72601bb92d194e9fbc33d3a4 /src/ltm.js
parent4627bb4b5c3ccc8431fbba68a78efd50ebb13909 (diff)
downloadfengari-7236b4bf648ba2fffc83d0b031766208a183e52b.tar.gz
fengari-7236b4bf648ba2fffc83d0b031766208a183e52b.tar.bz2
fengari-7236b4bf648ba2fffc83d0b031766208a183e52b.zip
l_isfalse as TValue method
Diffstat (limited to 'src/ltm.js')
-rw-r--r--src/ltm.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ltm.js b/src/ltm.js
index e08c511..041e233 100644
--- a/src/ltm.js
+++ b/src/ltm.js
@@ -79,7 +79,7 @@ const luaT_callorderTM = function(L, p1, p2, event) {
if (!luaT_callbinTM(L, p2, p2, L.top, event))
return -1;
else
- return !l_isfalse(L.stack[L.top]) ? 1 : 0;
+ return !L.stack[L.top].l_isfalse() ? 1 : 0;
};
const luaT_gettmbyobj = function(L, o, event) {