Add MOTD escape sequences for { and }.

This commit is contained in:
Sadie Powell 2024-08-30 09:32:44 +01:00
parent baad39b85c
commit af6a690f52

View File

@ -129,6 +129,8 @@ void InspIRCd::ProcessColors(std::string& line)
{
static const insp::flat_map<std::string::value_type, std::string> formats = {
{ '\\', "\\" }, // Escape
{ '{', "{" }, // Escape
{ '}', "}" }, // Escape
{ 'b', "\x02" }, // Bold
{ 'c', "\x03" }, // Color
{ 'h', "\x04" }, // Hex Color