aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-06-20 00:41:16 +0100
committerGravatar Sadie Powell2022-06-20 00:41:16 +0100
commita667bd3e988e73ebb10ef343bac7127d8bbd6f49 (patch)
tree21b97ce07bf5e8168b4340ac1e98ffeab03665eb /src
parentAdd support for escaping hex colour codes (diff)
Also add hex colour escapes to the formatting entity list.
Diffstat (limited to 'src')
-rw-r--r--src/configparser.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/configparser.cpp b/src/configparser.cpp
index 96965ddc8..e4582f80d 100644
--- a/src/configparser.cpp
+++ b/src/configparser.cpp
@@ -531,6 +531,8 @@ ParseStack::ParseStack(ServerConfig* conf)
vars["irc.bold"] = "\x02";
vars["irc.color"] = "\x03";
vars["irc.colour"] = "\x03";
+ vars["irc.hexcolor"] = "\x04";
+ vars["irc.hexcolour"] = "\x04";
vars["irc.italic"] = "\x1D";
vars["irc.monospace"] = "\x11";
vars["irc.reset"] = "\x0F";