summary refs log tree commit diff stats
path: root/src/common/chanopt.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-06-06 17:47:01 -0400
committerTingPing <tingping@tingping.se>2013-06-06 17:47:01 -0400
commitcf505b850bb02e7b691fbd5f48618d66fe55bc0a (patch)
tree83395d6ac39c5b90c21a2664edd001425f961bbc /src/common/chanopt.c
parentfd762303b0c655f77ddff3004bfaaf11cc6c4e0d (diff)
Add chanopt for stripping colors
Diffstat (limited to 'src/common/chanopt.c')
-rw-r--r--src/common/chanopt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/chanopt.c b/src/common/chanopt.c
index 65c27d58..9e841cb6 100644
--- a/src/common/chanopt.c
+++ b/src/common/chanopt.c
@@ -65,6 +65,7 @@ static const channel_options chanopt[] =
 	{"text_hidejoinpart", "CONFMODE", S_F(text_hidejoinpart)},
 	{"text_logging", NULL, S_F(text_logging)},
 	{"text_scrollback", NULL, S_F(text_scrollback)},
+	{"text_strip", NULL, S_F(text_strip)},
 };
 
 #undef S_F
@@ -179,6 +180,7 @@ typedef struct
 	guint8 text_hidejoinpart;
 	guint8 text_logging;
 	guint8 text_scrollback;
+	guint8 text_strip;
 
 	char *network;
 	char *channel;