diff --git a/iwinfo_lua.c b/iwinfo_lua.c index 65fff2b..bd3b203 100644 --- a/iwinfo_lua.c +++ b/iwinfo_lua.c @@ -948,6 +948,7 @@ static const luaL_Reg R_common[] = { LUALIB_API int luaopen_iwinfo(lua_State *L) { + luaL_newmetatable(L, IWINFO_META); luaL_setfuncs(L, R_common, 0); #ifdef USE_WL