diff options
author | Adam <Adam@anope.org> | 2010-08-27 21:30:16 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-08-27 21:30:16 -0400 |
commit | 56045afda2e34028ed36be5b4a67734493575290 (patch) | |
tree | 632fa880f9c950b67b6492440552adb1f8e17ce0 /src/logger.cpp | |
parent | c2ddecc2b1dbc9d055166bdf296da2e4536f74f6 (diff) |
Removed some problematic IsRecognized checks in ms_cancel and ms_check, and fixed a variable name in logger.cpp to make clang happy
Diffstat (limited to 'src/logger.cpp')
-rw-r--r-- | src/logger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logger.cpp b/src/logger.cpp index 14e5f6d1e..d2621a999 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -83,9 +83,9 @@ static Anope::string GetLogDate(time_t t = time(NULL)) return timestamp; } -static inline Anope::string CreateLogName(const Anope::string &file, time_t time = time(NULL)) +static inline Anope::string CreateLogName(const Anope::string &file, time_t t = time(NULL)) { - return "logs/" + file + "." + GetLogDate(time); + return "logs/" + file + "." + GetLogDate(t); } LogFile::LogFile(const Anope::string &name) : filename(name), stream(name.c_str(), std::ios_base::out) |