diff options
Diffstat (limited to 'src/lua/common/error.h')
-rw-r--r-- | src/lua/common/error.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/common/error.h b/src/lua/common/error.h index f8b62f2..2b2c176 100644 --- a/src/lua/common/error.h +++ b/src/lua/common/error.h @@ -19,7 +19,7 @@ namespace lua vsnprintf(err + strlen(err), FORMAT_MSG_BUFFER_SIZE, fmt, args); va_end(args); luax_getglobal(L, MODULE_NAME); - luax_setfield_string(L, "error", err); + luax_setfieldstring(L, "error", err); } } |