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 d2df961..4a90f6d 100644
--- a/src/ltm.js
+++ b/src/ltm.js
@@ -53,7 +53,7 @@ const luaT_typenames_ = [
"userdata",
"thread",
"proto" /* this last case is used for tests only */
-];
+].map(e => lua.to_luastring(e));
const ttypename = function(t) {
return luaT_typenames_[t + 1];