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:
+3
-4
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user