diff options
author | Adam <Adam@anope.org> | 2010-10-04 21:46:15 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-10-04 21:46:15 -0400 |
commit | 10833f9d3f006ba77623ebdc4e1f1003fe9e299b (patch) | |
tree | bec5f995c293e4ee9e595c44b9289f38b45b8d5d /src/logger.cpp | |
parent | 592060ac756dd7ac5983aac987264ff5eaecd265 (diff) |
Made anoperc stop/restart send the cycleonglobal, and fixed logfiles to be opened with append not truncate
Diffstat (limited to 'src/logger.cpp')
-rw-r--r-- | src/logger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logger.cpp b/src/logger.cpp index 33ed3545a..3f1f35735 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -93,7 +93,7 @@ static inline Anope::string CreateLogName(const Anope::string &file, time_t t = return "logs/" + file + "." + GetLogDate(t); } -LogFile::LogFile(const Anope::string &name) : filename(name), stream(name.c_str(), std::ios_base::out) +LogFile::LogFile(const Anope::string &name) : filename(name), stream(name.c_str(), std::ios_base::out | std::ios_base::app) { } |