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:
+1
-1
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user