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