summaryrefslogtreecommitdiff
path: root/src/protocol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r--src/protocol.cpp5
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> &params)
{
if (!params.empty())
- Log(LOG_TERMINAL) << "Error: " << params[0];
+ {
+ Log() << "ERROR: " << params[0];
+ quitmsg = "Received ERROR from uplink: " + params[0];
+ }
return true;
}