mirror of
https://github.com/anope/anope.git
synced 2026-06-25 21:06:38 +02:00
Removed some problematic IsRecognized checks in ms_cancel and ms_check, and fixed a variable name in logger.cpp to make clang happy
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user