mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-30 13:47:23 +01:00
* 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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user