1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 07:36:38 +02:00

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.
This commit is contained in:
Sadie Powell
2021-04-16 21:39:15 +01:00
parent 683f42eeef
commit faee68e85f
+1 -1
View File
@@ -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();
}