1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 09:16:38 +02:00

Set quitmsg on ERROR

This commit is contained in:
Adam
2012-04-29 20:39:33 -04:00
parent 42e652cae7
commit 1b5805eeb0
+4 -1
View File
@@ -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;
}