Line up __index with __newindex in the metatable for environ
This commit is contained in:
parent
b2c028a3cb
commit
6918a0de04
1 changed files with 1 additions and 1 deletions
|
@ -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}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue