1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 22:06:38 +02:00

Fix bug in irc color decoding: reset color if color code is not followed by a color number

This commit is contained in:
Sebastien Helleu
2009-02-07 18:49:46 +01:00
parent 94aa12d8ff
commit c683673047
+2
View File
@@ -160,6 +160,8 @@ irc_color_decode (const char *string, int keep_colors)
(bg >= 0) ? irc_color_to_weechat[bg] : "");
strcat ((char *)out, weechat_color(str_color));
}
else
strcat ((char *)out, weechat_color("reset"));
}
break;
default: