From 6918a0de04c59e00cc60a411f08f8ddbaf75b25b Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Sun, 2 Jul 2023 08:41:09 +1200 Subject: [PATCH] Line up __index with __newindex in the metatable for environ --- lenviron.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lenviron.c b/lenviron.c index f07996a..e38b256 100644 --- a/lenviron.c +++ b/lenviron.c @@ -93,7 +93,7 @@ environ_newindex(lua_State *L) } static const luaL_Reg mt[] = { - {"__index", environ_index}, + {"__index", environ_index}, {"__newindex", environ_newindex}, {NULL, NULL} };