mirror of
https://github.com/weechat/weechat.git
synced 2026-07-08 18:53:12 +02:00
irc: properly rename private buffer on notice messages
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user