diff options
| author | ilotterytea <iltsu@alright.party> | 2025-12-04 16:04:42 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-12-04 16:04:42 +0500 |
| commit | 862e8aa90da9260e9fc0c006eb1ba7fe548e2512 (patch) | |
| tree | a23bd12e866783fe76d847e3fd59c0acded4d6cf | |
| parent | 0a25075393297a7ec86c2cc4040135c9ac85afce (diff) | |
fix: logic error
| -rw-r--r-- | bot/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
