mirror of https://github.com/nealey/irc-bot
Make more portable
This commit is contained in:
parent
1cec77a2cc
commit
3df34ce677
3
irc.c
3
irc.c
|
@ -108,7 +108,8 @@ main(int argc, char *argv[])
|
||||||
sender = parts[1];
|
sender = parts[1];
|
||||||
forum = sender;
|
forum = sender;
|
||||||
} else if (0 == strcmp(cmd, "PING")) {
|
} else if (0 == strcmp(cmd, "PING")) {
|
||||||
dprintf(1, "PONG :%s\r\n", text);
|
printf("PONG :%s\r\n", text);
|
||||||
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue