mirror of
https://github.com/anope/anope.git
synced 2026-07-05 18:03:13 +02:00
Send the casemap as part of CAPAB CAPABILITIES on InspIRCd.
This is technically part of the 1205 protocol but it is entirely backwards compatible so older versions will not be negatively affected by this.
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";
|
||||
UplinkSocket::Message() << "CAPAB CAPABILITIES :PROTOCOL=1202 CASEMAPPING=" << Config->GetBlock("options")->Get<const Anope::string>("casemap", "ascii");
|
||||
UplinkSocket::Message() << "CAPAB END";
|
||||
insp12->SendConnect();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user