mirror of
https://github.com/anope/anope.git
synced 2026-07-06 11:33:13 +02:00
Split up db/conf/lib/locale install directories, and allow alternate ones to be specified at runtime
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ static Anope::string GetLogDate(time_t t = Anope::CurTime)
|
||||
|
||||
static inline Anope::string CreateLogName(const Anope::string &file, time_t t = Anope::CurTime)
|
||||
{
|
||||
return "logs/" + file + "." + GetLogDate(t);
|
||||
return log_dir + "/" + file + "." + GetLogDate(t);
|
||||
}
|
||||
|
||||
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