From 862e8aa90da9260e9fc0c006eb1ba7fe548e2512 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Thu, 4 Dec 2025 16:04:42 +0500 Subject: fix: logic error --- bot/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/src/main.cpp') diff --git a/bot/src/main.cpp b/bot/src/main.cpp index 967e36e..d03f27d 100644 --- a/bot/src/main.cpp +++ b/bot/src/main.cpp @@ -101,7 +101,7 @@ int main(int argc, char *argv[]) { if (name != helix_channel.login) { conn->exec("UPDATE channels SET alias_name = $1 WHERE id = $2", - {helix_channel.login, channels[0][0]}); + {helix_channel.login, channels[0]["id"]}); } client.join(helix_channel.login); -- cgit v1.2.3