diff options
author | Robby <robby@chatbelgie.be> | 2018-11-20 23:32:19 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2018-11-20 23:37:20 +0000 |
commit | 4c6d7a12ab58b55ef49fb1cf62b57c6ef7daad5d (patch) | |
tree | 4cd282e1823c666073d9442995b528d13ea1bbd8 | |
parent | 28ffef39c86e9d5a2b9164a3e4c7a434632e0d9a (diff) |
Add missing special character for reversing color.
-rw-r--r-- | docs/conf/inspircd.conf.example | 1 | ||||
-rw-r--r-- | src/helperfuncs.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/docs/conf/inspircd.conf.example b/docs/conf/inspircd.conf.example index 3ad2d5fd6..04100ec2a 100644 --- a/docs/conf/inspircd.conf.example +++ b/docs/conf/inspircd.conf.example @@ -324,6 +324,7 @@ # Italic: \i # Monospace: \m (not widely supported) # Reset: \x + # Reverse: \r # Strikethrough: \s (not widely supported) # Underline: \u # See https://defs.ircdocs.horse/info/formatting.html for more information diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 9a6701b54..469c844be 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -156,6 +156,7 @@ void InspIRCd::ProcessColors(file_cache& input) special_chars("\\c", "\x03"), // Color special_chars("\\i", "\x1D"), // Italic special_chars("\\m", "\x11"), // Monospace + special_chars("\\r", "\x16"), // Reverse special_chars("\\s", "\x1E"), // Strikethrough special_chars("\\u", "\x1F"), // Underline special_chars("\\x", "\x0F"), // Reset |