Загрузить файлы в «»
This commit is contained in:
parent
0fe7c77157
commit
fd99c955a5
3
main.c
3
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
|
||||
|
Loading…
Reference in New Issue
Block a user