From 39abfea9155e929e9fc027c935ab71127b45212f Mon Sep 17 00:00:00 2001 From: daurnimator Date: Thu, 27 Apr 2017 03:03:21 +1000 Subject: src/ltm.js: Fix use of non-existant enum --- src/ltm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ltm.js b/src/ltm.js index 9c70322..8687eb0 100644 --- a/src/ltm.js +++ b/src/ltm.js @@ -141,7 +141,7 @@ const luaT_gettmbyobj = function(L, o, event) { let mt; switch(o.ttnov()) { case CT.LUA_TTABLE: - case CT.LUA_TTUSERDATA: + case CT.LUA_TUSERDATA: mt = o.metatable; break; default: -- cgit v1.2.3-70-g09d2