diff options
author | Adam <Adam@anope.org> | 2012-04-29 20:39:33 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-04-29 20:39:33 -0400 |
commit | 1b5805eeb08d80f9163a732fa367f9a077f19112 (patch) | |
tree | bb231d67f784d0807b013f78c2bd1e3dffc3d557 /src/protocol.cpp | |
parent | 42e652cae79c0387e690f18e00712963c2dfec22 (diff) |
Set quitmsg on ERROR
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r-- | src/protocol.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp index 506b4def6..2c853a5f7 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -569,7 +569,10 @@ bool IRCdMessage::OnCapab(const Anope::string &, const std::vector<Anope::string bool IRCdMessage::OnError(const Anope::string &, const std::vector<Anope::string> ¶ms) { if (!params.empty()) - Log(LOG_TERMINAL) << "Error: " << params[0]; + { + Log() << "ERROR: " << params[0]; + quitmsg = "Received ERROR from uplink: " + params[0]; + } return true; } |