1
0
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:
Adam
2016-12-15 08:24:40 -05:00
parent d092f5e7c8
commit b3010c3c6b
+3 -1
View File
@@ -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