From fd99c955a5052bb7c45fedb9cbc067004c687792 Mon Sep 17 00:00:00 2001 From: 8nlight <8nlight@disroot.org> Date: Thu, 17 Aug 2023 10:02:26 +0300 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B3=D1=80=D1=83=D0=B7=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D1=84=D0=B0=D0=B9=D0=BB=D1=8B=20=D0=B2=20=C2=AB?= =?UTF-8?q?=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.c b/main.c index 84e581f..ecf620e 100644 --- a/main.c +++ b/main.c @@ -53,7 +53,7 @@ void recvinfo(void) { else if (client.nick != NULL && client.channel != NULL && client.msg != NULL && irc_status == IRCC_PRIVMSG) WriteToFile(); - else if (strstr(client.raw, "No Ident") || irc_status == IRCC_CONNECTED) + else if (irc_status == IRCC_CONNECTED) return; } } @@ -74,7 +74,6 @@ int main(void) { die("setsockopt"); //Register - recvinfo(); IRCC_register(&client, NICK); //Recv motd and join in channel