mirror of
https://github.com/anope/anope.git
synced 2026-07-05 01:13:12 +02:00
logger: log source nick if there is no user or account
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user