aboutsummaryrefslogtreecommitdiffstats
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 373531b80..0397b485c 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -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