summaryrefslogtreecommitdiff
path: root/src/ltm.js
diff options
context:
space:
mode:
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 c712160..4dc9cc7 100644
--- a/src/ltm.js
+++ b/src/ltm.js
@@ -73,7 +73,7 @@ const luaT_callbinTM = function(L, p1, p2, res, event) {
};
const luaT_trybinTM = function(L, p1, p2, res, event) {
- if (!luaT_gettmbyobj(L, p1, p2, res, event)) {
+ if (!luaT_callbinTM(L, p1, p2, res, event)) {
throw new Error("TM error"); // TODO: luaG_error
}
};