summary refs log tree commit diff stats
path: root/src/common/util.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/util.c
parent08e13a3ac58896fd9a0a2e5a004f9b180d1dfeeb (diff)
Implement support for strikethrough text.
https://defs.ircdocs.horse/info/formatting.html
Diffstat (limited to 'src/common/util.c')
-rw-r--r--src/common/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 5b5fb23f..fa0783d4 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -329,6 +329,7 @@ strip_color2 (const char *src, int len, char *dst, int flags)
 			case '\026':			  /*ATTR_REVERSE: */
 			case '\002':			  /*ATTR_BOLD: */
 			case '\037':			  /*ATTR_UNDERLINE: */
+			case '\036':			  /*ATTR_STRIKETHROUGH: */
 			case '\035':			  /*ATTR_ITALICS: */
 				if (!(flags & STRIP_ATTRIB)) goto pass_char;
 				break;