mirror of
https://github.com/anope/anope.git
synced 2026-06-26 10:16:40 +02:00
Improve the error diagnostics when the link fails.
This commit is contained in:
+2
-2
@@ -46,9 +46,9 @@ void Capab::Run(MessageSource &source, const std::vector<Anope::string> ¶ms,
|
||||
|
||||
void Error::Run(MessageSource &source, const std::vector<Anope::string> ¶ms, const Anope::map<Anope::string> &tags)
|
||||
{
|
||||
Log(LOG_TERMINAL) << "ERROR: " << params[0];
|
||||
Anope::QuitReason = "Received ERROR from uplink: " + params[0];
|
||||
Anope::QuitReason = "Received an error from the uplink: " + params.back();
|
||||
Anope::Quitting = true;
|
||||
Log(LOG_TERMINAL) << Anope::QuitReason;
|
||||
}
|
||||
|
||||
Ignore::Ignore(Module *creator, const Anope::string &mname)
|
||||
|
||||
Reference in New Issue
Block a user