summaryrefslogtreecommitdiff
path: root/src/logger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/logger.cpp')
-rw-r--r--src/logger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logger.cpp b/src/logger.cpp
index 296b22dac..d9c0e5d66 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -145,7 +145,7 @@ Anope::string Log::BuildPrefix() const
{
case LOG_ADMIN:
{
- if (!this->c && !(this->u || this->nc))
+ if (!this->c)
break;
buffer += "ADMIN: ";
Anope::string cname = source != NULL && !source->command.empty() ? source->command : this->c->name;
@@ -159,7 +159,7 @@ Anope::string Log::BuildPrefix() const
}
case LOG_OVERRIDE:
{
- if (!this->c && !(this->u || this->nc))
+ if (!this->c)
break;
buffer += "OVERRIDE: ";
Anope::string cname = source != NULL && !source->command.empty() ? source->command : this->c->name;