aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ltm.js2
1 files changed, 1 insertions, 1 deletions
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: