From a3a9d3e0f0b9680bdb9e8700dc6a43b9c8278977 Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 1 Jul 2006 10:28:42 +0000 Subject: forward port of r4092 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4093 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/helperfuncs.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 7c3b8c3ea..c51a824a8 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -92,7 +92,10 @@ void do_log(int level, const char *text, ...) va_end(argsPtr); if (Config->writelog) + { fprintf(Config->log_file,"%s %s\n",TIMESTR,textbuffer); + fflush(Config->log_file); + } } if (Config->nofork) -- cgit v1.2.3