From 646d1b0ea6025082eb880ddfb6ff40bb4836cc33 Mon Sep 17 00:00:00 2001 From: LJ Sonic Date: Thu, 28 Dec 2023 15:17:14 +0100 Subject: [PATCH] Fix Lua taglists methods not working --- src/lua_taglib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua_taglib.c b/src/lua_taglib.c index 9e73a050c..a040a7efc 100644 --- a/src/lua_taglib.c +++ b/src/lua_taglib.c @@ -228,7 +228,7 @@ static int taglist_get(lua_State *L) } else { - lua_getmetatable(L, 1); + lua_getglobal(L, "taglist"); lua_replace(L, 1); lua_rawget(L, 1); return 1;