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

This commit is contained in:
8nlight 2023-08-17 10:01:33 +03:00
parent 569a6faea5
commit a50ebb3d26
3 changed files with 16 additions and 20 deletions

View file

@ -31,6 +31,7 @@ unsigned int IRCC_register(IRCC_client *irc, const char *nickname){
exit(1);
}
sleep(2);
snprintf(tmp, size, "NICK %s\r\nUSER %s 0 localhost :%s\r\n", nickname, nickname, nickname);
send(irc->socket, tmp, strlen(tmp), 0);