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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user