diff options
-rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index b1f383e00..82b209360 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -1216,7 +1216,7 @@ void FileLogger::WriteLogLine(const std::string &line) { int written = fprintf(log,"%s",buffer.c_str()); #ifdef WINDOWS - buffer = ""; + buffer.clear(); #else if ((written >= 0) && (written < (int)buffer.length())) { |