From 3ea29c9616bfeb7514683d362d889314f60f2b91 Mon Sep 17 00:00:00 2001 From: gor_down Date: Sat, 30 Nov 2024 22:27:18 -0300 Subject: [PATCH] departures (real) --- .gitignore | 3 ++- index.js | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index b4a39b9..576c933 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ logs/* !logs/.gitkeep -node_modules \ No newline at end of file +node_modules +settings.json \ No newline at end of file diff --git a/index.js b/index.js index 47561bc..d515487 100644 --- a/index.js +++ b/index.js @@ -41,8 +41,8 @@ client.addListener('registered', () => { }) client.addListener('quit', (nick, reason, channels, _message) => { - for(channel in channels){ - logMessage(nick, channel, "Left.") + for(i in channels){ + logMessage(nick, channels[i], "Left.") } })