diff options
author | Robby <robby@chatbelgie.be> | 2017-01-17 05:03:25 +0100 |
---|---|---|
committer | Robby <robby@chatbelgie.be> | 2017-01-17 05:03:25 +0100 |
commit | 76ce8ece1a4803c98bfe9460f40bf8e0fbc409e6 (patch) | |
tree | 26e6da47f20de64ef76fe4afc459bbb7889bd417 /src/logger.cpp | |
parent | 464093d36e87f3df999145e42ed30fc0dfc55c52 (diff) |
Cleanup some excess whitespaces and tabs, and fix a few typos along the way.
Diffstat (limited to 'src/logger.cpp')
-rw-r--r-- | src/logger.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/logger.cpp b/src/logger.cpp index b296d1081..935b0cfae 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -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; } } - |