From 56045afda2e34028ed36be5b4a67734493575290 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 27 Aug 2010 21:30:16 -0400 Subject: Removed some problematic IsRecognized checks in ms_cancel and ms_check, and fixed a variable name in logger.cpp to make clang happy --- src/logger.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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) -- cgit