summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-01 10:28:42 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-01 10:28:42 +0000
commita3a9d3e0f0b9680bdb9e8700dc6a43b9c8278977 (patch)
treeccc6c37008aa9f8997591fb8a4077d5dd5cd7547 /src/helperfuncs.cpp
parent98c703511ca335514d72f0207796131b134bbffc (diff)
forward port of r4092
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4093 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp3
1 files changed, 3 insertions, 0 deletions
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)