1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 23:16:39 +02:00

Improve the error diagnostics when the link fails.

This commit is contained in:
Sadie Powell
2025-08-03 13:15:01 +01:00
parent b2d40d4189
commit cd0f00a819
4 changed files with 26 additions and 8 deletions
+5
View File
@@ -192,6 +192,11 @@ public:
MaxLine = 0;
}
void GetLinkAdvice(std::vector<Anope::string> &advice) override
{
advice.push_back("You do not have the account, hidechans, services, and spanningtree modules loaded on InspIRCd.");
}
size_t GetMaxListFor(Channel *c, ChannelMode *cm) override
{
ListLimits *limits = maxlist.Get(c);