mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Add MOTD escape sequences for { and }.
This commit is contained in:
parent
baad39b85c
commit
af6a690f52
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user