Permalink
Browse files

logger: log source nick if there is no user or account

  • Loading branch information...
Adam- committed Dec 15, 2016
1 parent d092f5e commit b3010c3c6b2a938c28ff10ab67f09528f0c91896
Showing with 3 additions and 1 deletion.
  1. +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

0 comments on commit b3010c3

Please sign in to comment.