From c73ab9a8ad908771cfe1dbaab0ed58920b2dd253 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Mon, 22 Dec 2025 16:11:15 +0100 Subject: [PATCH] whoops --- 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 83226fb..3212b1f 100644 --- a/src/lua_rds.c +++ b/src/lua_rds.c @@ -10,7 +10,7 @@ int lua_set_rds_##name(lua_State *localL) { \ } #define STR_NONRETURN_HANDLER(name, function) \ int lua_set_rds_##name(lua_State *localL) { \ - const char* str = luaL_checklstring(L, 1); \ + const char* str = luaL_checklstring(localL, 1); \ function(mod->enc, str); \ return 0; \ }