mirror of
https://github.com/anope/anope.git
synced 2026-06-29 20:26:39 +02:00
Fixed logging messages with an empty category to everything
This commit is contained in:
@@ -670,6 +670,7 @@ log
|
||||
{
|
||||
target = "globops"
|
||||
admin = "operserv/global operserv/mode operserv/kick opeserv/akill operserv/s*line operserv/noop operserv/jupe */forbid nickserv/getpass */drop"
|
||||
other = "~"
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
+1
-1
@@ -310,7 +310,7 @@ void LogInfo::ProcessMessage(const Log *l)
|
||||
|
||||
if (!this->HasType(l->Type))
|
||||
return;
|
||||
else if (!l->Category.empty() && !this->HasType(this->GetList(l->Type), l->Category))
|
||||
else if (!this->HasType(this->GetList(l->Type), l->Category))
|
||||
return;
|
||||
|
||||
if (!this->Sources.empty())
|
||||
|
||||
Reference in New Issue
Block a user