From e0d333c02c6603bf4ced2ab678eb16633913a0dd Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Sat, 20 Jun 2026 14:00:43 +0200 Subject: [PATCH] no way --- src/lua_rds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua_rds.c b/src/lua_rds.c index 85052b5..99dd2de 100644 --- a/src/lua_rds.c +++ b/src/lua_rds.c @@ -109,7 +109,7 @@ uint8_t init_lua(RDSEncoder* _enc) { lua_setfield(globalL, -2, "ps_transmission"); lua_pushvalue(globalL, -1); hooks_ref = luaL_ref(globalL, LUA_REGISTRYINDEX); - lua_getglobal(globalL, "hooks"); + lua_setglobal(globalL, "hooks"); lua_newtable(globalL); lua_setglobal(globalL, "ext");