summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-color.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc/irc-color.c')
-rw-r--r--src/plugins/irc/irc-color.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-color.c b/src/plugins/irc/irc-color.c
index 6def56b72..af95d8614 100644
--- a/src/plugins/irc/irc-color.c
+++ b/src/plugins/irc/irc-color.c
@@ -489,7 +489,7 @@ irc_color_decode_ansi_cb (void *data, const char *text)
ansi_state = (struct t_irc_color_ansi_state *)data;
- /* if we don't keep colors of if text is empty, just return empty string */
+ /* if we don't keep colors or if text is empty, just return empty string */
if (!ansi_state->keep_colors || !text || !text[0])
return strdup ("");