From 14685a26805155aa5c137993b9a4861a0bc585d5 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 7 Sep 2024 20:01:28 +0200 Subject: [PATCH] lua: fix meta table for the module Signed-off-by: Raito Bezarius --- iwinfo_lua.c | 1 + 1 file changed, 1 insertion(+) 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