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

irc: add option irc.look.display_pv_warning_address (closes #892)

If the address of remote nick changes in a private buffer, a warning is
displayed.
This commit is contained in:
Sébastien Helleu
2019-10-11 20:26:34 +02:00
parent 1dda5ffd02
commit 876a0a1609
26 changed files with 238 additions and 14 deletions
+8
View File
@@ -1244,7 +1244,11 @@ IRC_PROTOCOL_CALLBACK(join)
/* display message in private if private has flag "has_quit_server" */
if (!local_join)
{
irc_channel_display_nick_back_in_pv (server, ptr_nick, nick);
irc_channel_set_topic_private_buffers (server, ptr_nick, nick,
address);
}
}
if (local_join)
@@ -1717,7 +1721,11 @@ IRC_PROTOCOL_CALLBACK(nick)
}
if (!local_nick)
{
irc_channel_display_nick_back_in_pv (server, ptr_nick_found, new_nick);
irc_channel_set_topic_private_buffers (server, ptr_nick_found,
new_nick, address);
}
return WEECHAT_RC_OK;
}