summaryrefslogtreecommitdiff
path: root/src/ltm.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ltm.js')
-rw-r--r--src/ltm.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ltm.js b/src/ltm.js
index e48ff23..7ef772f 100644
--- a/src/ltm.js
+++ b/src/ltm.js
@@ -179,7 +179,7 @@ const luaT_gettmbyobj = function(L, o, event) {
mt = L.l_G.mt[o.ttnov()];
}
- return mt ? mt.__index(mt, event) : ldo.nil;
+ return mt ? mt.__index(mt, event) : lobject.luaO_nilobject;
};
module.exports.TMS = TMS;
@@ -190,4 +190,4 @@ module.exports.luaT_callorderTM = luaT_callorderTM;
module.exports.luaT_gettmbyobj = luaT_gettmbyobj;
module.exports.luaT_init = luaT_init;
module.exports.luaT_objtypename = luaT_objtypename;
-module.exports.ttypename = ttypename; \ No newline at end of file
+module.exports.ttypename = ttypename;