diff options
author | Adam <Adam@anope.org> | 2012-05-06 21:43:50 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-05-06 21:43:50 -0400 |
commit | 675b113c3e03cf1917b2a731c21fe82b5f1f2b2b (patch) | |
tree | 6a80aaeafa829a3cef5c41c938d92ffedd1bdad8 /src/logger.cpp | |
parent | eb0e07d5645c06eb034cfcfbf91883158ba9dc00 (diff) |
Split up db/conf/lib/locale install directories, and allow alternate ones to be specified at runtime
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 2b27e1478..1b7c48f78 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -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) |