1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

irc: properly rename private buffer on notice messages

This commit is contained in:
Sébastien Helleu
2023-01-03 01:06:51 +01:00
parent 99988bdee7
commit 9ee0955d6b
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ Bug fixes::
* api: send NULL values to config section callbacks in scripting API (issue #1843)
* api: fix function string_cut when there are non printable chars in suffix
* api: do not expect any return value in callbacks "callback_change" and "callback_delete" of function config_new_option (scripting API)
* irc: properly rename private buffer on nick changes or private message when new nick is the same with different case
* irc: properly rename private buffer on nick changes or privmsg/notice message when new nick is the same with different case
* irc: do not join channels in server autojoin option after reconnection to the server (issue #560, bug #21529)
* irc: escape backslashes in raw buffer (issue #1838)
* trigger: fix variables sent to focus callback (issue #1858)
+4
View File
@@ -2428,6 +2428,10 @@ IRC_PROTOCOL_CALLBACK(notice)
if (ptr_channel)
{
/* rename buffer if open with nick case not matching */
if (strcmp (ptr_channel->name, nick) != 0)
irc_channel_pv_rename (server, ptr_channel, nick);
if (weechat_config_boolean (irc_config_look_typing_status_nicks))
{
irc_typing_channel_set_nick (ptr_channel, nick,