mirror of
https://github.com/anope/anope.git
synced 2026-07-05 04:13:13 +02:00
Windows
This commit is contained in:
+1
-1
@@ -380,7 +380,7 @@ void LogInfo::ProcessMessage(const Log *l)
|
||||
Anope::string oldlog = CreateLogName(target, Anope::CurTime - 86400 * this->LogAge);
|
||||
if (IsFile(oldlog))
|
||||
{
|
||||
DeleteFile(oldlog.c_str());
|
||||
unlink(oldlog.c_str());
|
||||
Log(LOG_DEBUG) << "Deleted old logfile " << oldlog;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user