1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 09:56:38 +02:00

Made anoperc stop/restart send the cycleonglobal, and fixed logfiles to be opened with append not truncate

This commit is contained in:
Adam
2010-10-04 21:46:15 -04:00
parent 592060ac75
commit 10833f9d3f
4 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -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)
{
}