diff options
author | Sadie Powell <sadie@witchery.services> | 2021-04-16 21:39:15 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-04-16 22:17:47 +0100 |
commit | faee68e85f23e50f6298dce93312b8a50afc2f88 (patch) | |
tree | cb51680c292e52acf1604c625505c63ecebaf262 | |
parent | 683f42eeef9f82edcbf96349a21ed4153a80837c (diff) |
Don't enforce casemapping when using the 1202 InspIRCd protocol.
This allows older servers which use a module that provides custom
casemapping (e.g. the ascii module) to link.
-rw-r--r-- | modules/protocol/inspircd20.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/protocol/inspircd20.cpp b/modules/protocol/inspircd20.cpp index be478055f..3a557ae12 100644 --- a/modules/protocol/inspircd20.cpp +++ b/modules/protocol/inspircd20.cpp @@ -37,7 +37,7 @@ class InspIRCd20Proto : public IRCDProto void SendConnect() anope_override { UplinkSocket::Message() << "CAPAB START 1202"; - UplinkSocket::Message() << "CAPAB CAPABILITIES :PROTOCOL=1202 CASEMAPPING=" << Config->GetBlock("options")->Get<const Anope::string>("casemap", "ascii"); + UplinkSocket::Message() << "CAPAB CAPABILITIES :PROTOCOL=1202"; UplinkSocket::Message() << "CAPAB END"; insp12->SendConnect(); } |