mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 06:16:40 +02:00
irc: decode IRC color codes only when displaying messages
Before parsing IRC messages, they were almost all changed to convert IRC color codes to WeeChat color codes, which caused some bugs when storing data like account and real names (stored with WeeChat color codes instead of IRC colors). Now the messages are parsed as-is, then the colors are converted only when strings are displayed in a buffer by `weechat_printf()`.
This commit is contained in: