diff options
author | Adam <Adam@anope.org> | 2010-10-15 13:25:14 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-10-15 13:25:14 -0400 |
commit | f3c2933542d8702ebca37a20d721c8ca6c918771 (patch) | |
tree | daa4d220412c4e4844c1a98769725286896e55c2 /src/logger.cpp | |
parent | 4ddb469864451af7d75c0bb448fc0aa22f21558d (diff) |
Fixed an wrong logging example in example.conf and fixed misc messages being not logged as normal
Diffstat (limited to 'src/logger.cpp')
-rw-r--r-- | src/logger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logger.cpp b/src/logger.cpp index 3f1f35735..58183c8b0 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -184,10 +184,10 @@ Log::Log(Server *s, const Anope::string &category) : bi(OperServ), Type(LOG_SERV buf << "SERVER: " << s->GetName() << " (" << s->GetDescription() << ") "; } -Log::Log(BotInfo *b, const Anope::string &category) : bi(b), Type(LOG_USER), Category(category) +Log::Log(BotInfo *b, const Anope::string &category) : bi(b), Type(LOG_NORMAL), Category(category) { if (!b) - b = Global; + this->bi = Global; if (this->bi) this->Sources.push_back(bi->nick); } |