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