From 1b5805eeb08d80f9163a732fa367f9a077f19112 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 29 Apr 2012 20:39:33 -0400 Subject: Set quitmsg on ERROR --- src/protocol.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/protocol.cpp') 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 ¶ms) { if (!params.empty()) - Log(LOG_TERMINAL) << "Error: " << params[0]; + { + Log() << "ERROR: " << params[0]; + quitmsg = "Received ERROR from uplink: " + params[0]; + } return true; } -- cgit