summary refs log tree commit diff stats
path: root/src/common/outbound.c
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-06-01 13:31:38 +0100
committerPatrick <tingping@tingping.se>2021-06-20 10:39:39 -0500
commit55e4f1c42e8d1131b01659fad67db5d084780227 (patch)
treec84509e85ddb81233791b06294a4e24a8a78f14c /src/common/outbound.c
parent08e13a3ac58896fd9a0a2e5a004f9b180d1dfeeb (diff)
Implement support for strikethrough text.
https://defs.ircdocs.horse/info/formatting.html
Diffstat (limited to 'src/common/outbound.c')
-rw-r--r--src/common/outbound.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/outbound.c b/src/common/outbound.c
index c39a1d46..70fcd436 100644
--- a/src/common/outbound.c
+++ b/src/common/outbound.c
@@ -4434,6 +4434,9 @@ check_special_chars (char *cmd, int do_ascii) /* check for %X */
 				case 'I':
 					buf[i] = '\035';
 					break;
+				case 'S':
+					buf[i] = '\036';
+					break;
 				case 'C':
 					buf[i] = '\003';
 					break;