Line up __index with __newindex in the metatable for environ

This commit is contained in:
Jeremy Baxter 2023-07-02 08:41:09 +12:00
parent b2c028a3cb
commit 6918a0de04

View file

@ -93,7 +93,7 @@ environ_newindex(lua_State *L)
} }
static const luaL_Reg mt[] = { static const luaL_Reg mt[] = {
{"__index", environ_index}, {"__index", environ_index},
{"__newindex", environ_newindex}, {"__newindex", environ_newindex},
{NULL, NULL} {NULL, NULL}
}; };