summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-04-27 03:03:21 +1000
committerdaurnimator <quae@daurnimator.com>2017-04-27 03:03:21 +1000
commit39abfea9155e929e9fc027c935ab71127b45212f (patch)
tree825fc00987383108d10ad02633b044367a7a3320 /src
parent4deb77323e57d2e09af3b29ae2fe59d7e97213a4 (diff)
downloadfengari-39abfea9155e929e9fc027c935ab71127b45212f.tar.gz
fengari-39abfea9155e929e9fc027c935ab71127b45212f.tar.bz2
fengari-39abfea9155e929e9fc027c935ab71127b45212f.zip
src/ltm.js: Fix use of non-existant enum
Diffstat (limited to 'src')
-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: