diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/irc/irc-color.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/irc/irc-color.c b/src/plugins/irc/irc-color.c index a80de5735..1b9f26aee 100644 --- a/src/plugins/irc/irc-color.c +++ b/src/plugins/irc/irc-color.c @@ -176,14 +176,14 @@ irc_color_decode (const char *string, int keep_colors) } } snprintf (str_color, sizeof (str_color), - "%s%s%s", + "|%s%s%s", (fg >= 0) ? irc_color_to_weechat[fg] : "", (bg >= 0) ? "," : "", (bg >= 0) ? irc_color_to_weechat[bg] : ""); strcat ((char *)out, weechat_color(str_color)); } else - strcat ((char *)out, weechat_color("reset")); + strcat ((char *)out, weechat_color("resetcolor")); } break; default: |