]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Add missing special character for reversing color.
authorRobby <robby@chatbelgie.be>
Tue, 20 Nov 2018 22:32:19 +0000 (23:32 +0100)
committerPeter Powell <petpow@saberuk.com>
Tue, 20 Nov 2018 23:37:20 +0000 (23:37 +0000)
docs/conf/inspircd.conf.example
src/helperfuncs.cpp

index 3ad2d5fd6c8ba87dedd4a0edac35ab3aa394b6fc..04100ec2abe0e679945f3622d08437814cd915df 100644 (file)
          # 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
index 9a6701b541f1eb26f3c436b5c17618784e8b01bb..469c844be391b9b2c37f7934fe4463e1aed237b9 100644 (file)
@@ -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