1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 18:56:37 +02:00

Cleanup some excess whitespaces and tabs, and fix a few typos along the way.

This commit is contained in:
Robby
2017-01-17 05:03:25 +01:00
parent 464093d36e
commit 76ce8ece1a
204 changed files with 442 additions and 550 deletions
+3 -4
View File
@@ -82,7 +82,7 @@ Log::Log(LogType t, CommandSource &src, Command *_c, ChannelInfo *_ci) : u(src.G
{
if (!c)
throw CoreException("Invalid pointers passed to Log::Log");
if (type != LOG_COMMAND && type != LOG_OVERRIDE && type != LOG_ADMIN)
throw CoreException("This constructor does not support this log type");
@@ -129,7 +129,7 @@ Log::~Log()
std::cout << this->BuildPrefix() << this->buf.str() << std::endl;
FOREACH_MOD(OnLog, (this));
if (Config)
for (unsigned i = 0; i < Config->LogInfos.size(); ++i)
if (Config->LogInfos[i].HasType(this->type, this->category))
@@ -377,7 +377,7 @@ void LogInfo::ProcessMessage(const Log *l)
}
}
}
tm *tm = localtime(&Anope::CurTime);
if (tm->tm_mday != this->last_day)
{
@@ -407,4 +407,3 @@ void LogInfo::ProcessMessage(const Log *l)
lf->stream << GetTimeStamp() << " " << buffer << std::endl;
}
}