1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 21:23:12 +02:00

Fixed an wrong logging example in example.conf and fixed misc messages being not logged as normal

This commit is contained in:
Adam
2010-10-15 13:25:14 -04:00
parent 4ddb469864
commit f3c2933542
3 changed files with 7 additions and 6 deletions
+2 -2
View File
@@ -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);
}