diff --git a/src/bot/main.c b/src/bot/main.c index 9b4b8d8..5efd3a0 100644 --- a/src/bot/main.c +++ b/src/bot/main.c @@ -83,14 +83,14 @@ init() session = irc_create_session(&callbacks); if (!session) { - printf("Error creating IRC session\n"); + fputs("Error creating IRC session\n", stderr); return 1; } irc_connect(session, SERVER, PORT, 0, USERNAME, USERNAME, USERNAME); if (irc_run(session) != 0) { - printf("Error running IRC session\nNo net?"); + fputs("Error running IRC session\nNo net?", stderr); return 1; }