Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
logger: log source nick if there is no user or account
- Loading branch information
Showing
with
3 additions
and
1 deletion.
-
+3
−1
src/logger.cpp
|
@@ -145,7 +145,9 @@ Anope::string Log::FormatSource() const |
|
|
return this->u->GetMask(); |
|
|
else if (nc) |
|
|
return nc->display; |
|
|
return ""; |
|
|
else if (source) |
|
|
return source->GetNick(); |
|
|
return "<unknown>"; |
|
|
} |
|
|
|
|
|
Anope::string Log::FormatCommand() const |
|
|