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

This commit is contained in:
8nlight 2023-08-23 18:58:58 +03:00
parent a50ebb3d26
commit a2f5afe994
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
motd parsing
*/
#ifndef IRC_LINUX
#ifdef IRC_LINUX
#define IRC_LINUX
#include <stdio.h>

View File

@ -35,10 +35,10 @@ void recvinfo(void) {
else if (CHECK_NULL() && irc_status == IRCC_TOPIC)
printf("[T] %s\n", client.msg);
else if (irc_status == IRCC_JOIN)
else if (client.nick != NULL && irc_status == IRCC_JOIN)
printf("[>] %s\n", client.nick);
else if (irc_status == IRCC_PART)
else if (client.nick != NULL && irc_status == IRCC_PART)
printf("[<] %s\n", client.nick);
}
}