--- a/src/main.c
+++ b/src/main.c
@@ -16,11 +16,11 @@
#include <config.h>
#ifndef CONFIG_FILE
-#define CONFIG_FILE "/var/lib/nobody/.mcbotrc"
+#define CONFIG_FILE "/var/lib/mcbot/.mcbotrc"
#endif
#ifndef LOCALE_PATH
-#define LOCALE_PATH "/var/lib/nobody/data/locale"
+#define LOCALE_PATH "/var/lib/mcbot/data/locale"
#endif
short active = 1; /* needed for a safe shutdown */
@@ -105,6 +105,7 @@
} else {
if ((msg = parse (&message)) != NULL) {
fprintf (message.stream, "%s\r\n", msg);
+ fflush (message.stream);
printf ("%10s %s", "WRITE", msg);
}
}