1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 07:16:37 +02:00

irc: fix colors in MODE message (issue #2286)

This commit is contained in:
Sébastien Helleu
2025-11-22 10:31:57 +01:00
parent 790ce13843
commit e33ed57b47
3 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -2199,7 +2199,7 @@ IRC_PROTOCOL_CALLBACK(mode)
IRC_COLOR_RESET,
ctxt->params[1], /* mode */
(modes_args && modes_args[0]) ? " " : "",
(modes_args && modes_args[0]) ? modes_args : "",
(modes_args && modes_args[0]) ? IRC_COLOR_MSG(modes_args) : "",
IRC_COLOR_CHAT_DELIMITERS,
IRC_COLOR_RESET,
irc_nick_color_for_msg (ctxt->server, 1, ptr_nick, ctxt->nick),