aboutsummaryrefslogtreecommitdiff
path: root/src/shared/Log.cpp
diff options
context:
space:
mode:
authorXTZGZoReX <none@none>2009-03-31 09:18:03 +0200
committerXTZGZoReX <none@none>2009-03-31 09:18:03 +0200
commit6f5efa3c7aa32c463fe0dae78a86a78f80cf1d1b (patch)
tree93e27901e71a2fa10f6d7c9a3f0cfd19047dbbee /src/shared/Log.cpp
parentba99171d5b92176c8afd43fc7c6d2e4c287c4307 (diff)
* Do not print chat logs to console. It will simply screw up console output.
* Fix a possible crash in if/else checks in channel chat logging. --HG-- branch : trunk
Diffstat (limited to 'src/shared/Log.cpp')
-rw-r--r--src/shared/Log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/Log.cpp b/src/shared/Log.cpp
index a52ca767a03..3d7d654a62a 100644
--- a/src/shared/Log.cpp
+++ b/src/shared/Log.cpp
@@ -837,7 +837,7 @@ void Log::outChat( const char * str, ... )
outTimestamp(chatLogfile);
va_list ap;
va_start(ap, str);
- vfprintf(chatLogfile, str, ap);
+ fprintf(chatLogfile, str, ap);
fprintf(chatLogfile, "\n" );
fflush(chatLogfile);
va_end(ap);