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

irc: add channel color in message 354 with missing parameters (issue #1212)

This commit is contained in:
Sébastien Helleu
2018-06-24 09:46:29 +02:00
parent db690fbf91
commit 6292896021
+8 -2
View File
@@ -4782,9 +4782,15 @@ IRC_PROTOCOL_CALLBACK(354)
server, NULL, command, "who", NULL),
date,
irc_protocol_tags (command, "irc_numeric", NULL, NULL),
"%s%s",
"%s%s[%s%s%s]%s%s%s",
weechat_prefix ("network"),
argv_eol[3]);
IRC_COLOR_CHAT_DELIMITERS,
IRC_COLOR_CHAT_CHANNEL,
argv[3],
IRC_COLOR_CHAT_DELIMITERS,
IRC_COLOR_RESET,
(argc > 4) ? " " : "",
(argc > 4) ? argv_eol[4] : "");
}
return WEECHAT_RC_OK;
}