Загрузить файлы в «»

This commit is contained in:
8nlight 2023-08-17 10:02:26 +03:00
parent 0fe7c77157
commit fd99c955a5

3
main.c
View File

@ -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