Fix Lua taglists methods not working

This commit is contained in:
LJ Sonic 2023-12-28 15:17:14 +01:00
parent 454a43f0d4
commit 646d1b0ea6

View file

@ -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;