1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 09:13:14 +02:00

irc: fix colors in ban mask (message 367) and quiet mask (message 728) (issue #2286)

This commit is contained in:
Sébastien Helleu
2025-11-22 10:02:47 +01:00
parent 2b59a8e888
commit c447013caf
3 changed files with 32 additions and 31 deletions
+6 -6
View File
@@ -6811,7 +6811,7 @@ IRC_PROTOCOL_CALLBACK(367)
IRC_COLOR_CHAT_DELIMITERS,
str_number,
IRC_COLOR_CHAT_HOST,
ctxt->params[2], /* banmask */
IRC_COLOR_MSG(ctxt->params[2]), /* banmask */
IRC_COLOR_RESET,
(nick_address[0]) ? nick_address : "?",
weechat_util_get_time_string (&datetime));
@@ -6834,7 +6834,7 @@ IRC_PROTOCOL_CALLBACK(367)
IRC_COLOR_CHAT_DELIMITERS,
str_number,
IRC_COLOR_CHAT_HOST,
ctxt->params[2], /* banmask */
IRC_COLOR_MSG(ctxt->params[2]), /* banmask */
IRC_COLOR_RESET,
(nick_address[0]) ? nick_address : "?");
}
@@ -6857,7 +6857,7 @@ IRC_PROTOCOL_CALLBACK(367)
IRC_COLOR_CHAT_DELIMITERS,
str_number,
IRC_COLOR_CHAT_HOST,
ctxt->params[2], /* banmask */
IRC_COLOR_MSG(ctxt->params[2]), /* banmask */
IRC_COLOR_RESET);
}
@@ -7386,7 +7386,7 @@ IRC_PROTOCOL_CALLBACK(728)
IRC_COLOR_CHAT_DELIMITERS,
str_number,
IRC_COLOR_CHAT_HOST,
ctxt->params[3], /* quietmask */
IRC_COLOR_MSG(ctxt->params[3]), /* quietmask */
IRC_COLOR_RESET,
(nick_address[0]) ? nick_address : "?",
weechat_util_get_time_string (&datetime));
@@ -7409,7 +7409,7 @@ IRC_PROTOCOL_CALLBACK(728)
IRC_COLOR_CHAT_DELIMITERS,
str_number,
IRC_COLOR_CHAT_HOST,
ctxt->params[3], /* quietmask */
IRC_COLOR_MSG(ctxt->params[3]), /* quietmask */
IRC_COLOR_RESET,
(nick_address[0]) ? nick_address : "?");
}
@@ -7432,7 +7432,7 @@ IRC_PROTOCOL_CALLBACK(728)
IRC_COLOR_CHAT_DELIMITERS,
str_number,
IRC_COLOR_CHAT_HOST,
ctxt->params[3], /* quietmask */
IRC_COLOR_MSG(ctxt->params[3]), /* quietmask */
IRC_COLOR_RESET);
}