diff --git a/CHANGELOG.md b/CHANGELOG.md index ce1fa1b3f..1e2a760da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ SPDX-License-Identifier: GPL-3.0-or-later - relay/api: return an error 401 (Unauthorized) when header "x-weechat-totp" has an invalid value - xfer: add buffer local variable "server" in DCC CHAT buffers - core, irc, relay: add tag "tls" in gnutls messages +- irc: add tags "irc_cap" and "log3" in client capability request and SASL not supported messages - build: require Curl ≥ 7.68.0 ([#2268](https://github.com/weechat/weechat/issues/2268)) - build: require GnuTLS ≥ 3.6.3 ([#2268](https://github.com/weechat/weechat/issues/2268)) - build: require libgcrypt ≥ 1.8.0 ([#2268](https://github.com/weechat/weechat/issues/2268)) diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c index 39f3d5826..539f347ad 100644 --- a/src/plugins/irc/irc-protocol.c +++ b/src/plugins/irc/irc-protocol.c @@ -829,8 +829,8 @@ irc_protocol_cap_sync_req (struct t_irc_server *server, ptr_caps_req = (new_caps_req) ? new_caps_req : caps_req; if (ptr_caps_req && ptr_caps_req[0]) { - weechat_printf ( - server->buffer, + weechat_printf_date_tags ( + server->buffer, 0, "irc_cap,log3", _("%s%s: client capability, requesting: %s"), weechat_prefix ("network"), IRC_PLUGIN_NAME, ptr_caps_req); @@ -918,8 +918,8 @@ irc_protocol_cap_sync (struct t_irc_server *server, int sasl, int cap_new_receiv irc_server_sendf (server, 0, NULL, "CAP END"); if (sasl_requested && !sasl_to_do && !cap_new_received) { - weechat_printf ( - server->buffer, + weechat_printf_date_tags ( + server->buffer, 0, "irc_cap,log3", _("%s%s: client capability: SASL not supported"), weechat_prefix ("network"), IRC_PLUGIN_NAME);