From 98a4860a5dbb1819fa738c849d9feeb14d8e3425 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Wed, 24 Dec 2025 19:42:40 +0100 Subject: [PATCH] oh fuck you --- src/lua_rds.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lua_rds.c b/src/lua_rds.c index 8d98518..09fa342 100644 --- a/src/lua_rds.c +++ b/src/lua_rds.c @@ -593,15 +593,15 @@ void lua_group(RDSGroup* group) { lua_pushinteger(L, group->c); lua_pushinteger(L, group->d); if (lua_pcall(L, 3, 3, 0) == LUA_OK) { - if (!lua_isinteger(localL, -1)) { + if (!lua_isinteger(L, -1)) { pthread_mutex_unlock(&lua_mutex); return; } - if (!lua_isinteger(localL, -2)) { + if (!lua_isinteger(L, -2)) { pthread_mutex_unlock(&lua_mutex); return; } - if (!lua_isinteger(localL, -3)) { + if (!lua_isinteger(L, -3)) { pthread_mutex_unlock(&lua_mutex); return; } @@ -628,15 +628,15 @@ void lua_group_ref(RDSGroup* group, int ref) { lua_pushinteger(L, group->c); lua_pushinteger(L, group->d); if (lua_pcall(L, 3, 3, 0) == LUA_OK) { - if (!lua_isinteger(localL, -1)) { + if (!lua_isinteger(L, -1)) { pthread_mutex_unlock(&lua_mutex); return; } - if (!lua_isinteger(localL, -2)) { + if (!lua_isinteger(L, -2)) { pthread_mutex_unlock(&lua_mutex); return; } - if (!lua_isinteger(localL, -3)) { + if (!lua_isinteger(L, -3)) { pthread_mutex_unlock(&lua_mutex); return; }