1
0
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:
Peter Powell
2018-10-27 19:11:38 +01:00
parent 42aa330db3
commit 195eff9c04
+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";
UplinkSocket::Message() << "CAPAB CAPABILITIES :PROTOCOL=1202 CASEMAPPING=" << Config->GetBlock("options")->Get<const Anope::string>("casemap", "ascii");
UplinkSocket::Message() << "CAPAB END";
insp12->SendConnect();
}