summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.adoc1
-rw-r--r--src/plugins/irc/irc-protocol.c12
2 files changed, 7 insertions, 6 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc
index 497238e7a..938aa4af1 100644
--- a/ChangeLog.adoc
+++ b/ChangeLog.adoc
@@ -30,6 +30,7 @@ Bug fixes::
* core: flush stdout/stderr before forking in hook_process function (issue #1441)
* core: fix evaluation of condition with nested "if" (issue #1434)
+ * irc: add nick changes in the hotlist (except self nick change)
* irc: case-insensitive comparison on incoming CTCP command, force upper case on CTCP replies (issue #1439)
* irc: fix memory leak when the channel topic is changed
* logger: fix crash when logging is disabled on a buffer and the log file was deleted in the meanwhile, when option logger.file.info_lines is on (issue #1444)
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c
index ccc9ca35f..05433d34e 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -1640,9 +1640,6 @@ IRC_PROTOCOL_CALLBACK(nick)
{
ptr_nick_found = ptr_nick;
- /* temporary disable hotlist */
- weechat_buffer_set (NULL, "hotlist", "-");
-
/* set host in nick if needed */
irc_nick_set_host (ptr_nick, address);
@@ -1651,6 +1648,9 @@ IRC_PROTOCOL_CALLBACK(nick)
irc_nick_change (server, ptr_channel, ptr_nick, new_nick);
if (local_nick)
{
+ /* temporary disable hotlist */
+ weechat_buffer_set (NULL, "hotlist", "-");
+
snprintf (str_tags, sizeof (str_tags),
"irc_nick1_%s,irc_nick2_%s",
nick,
@@ -1667,6 +1667,9 @@ IRC_PROTOCOL_CALLBACK(nick)
IRC_COLOR_CHAT_NICK_SELF,
new_nick,
IRC_COLOR_RESET);
+
+ /* enable hotlist */
+ weechat_buffer_set (NULL, "hotlist", "+");
}
else
{
@@ -1712,9 +1715,6 @@ IRC_PROTOCOL_CALLBACK(nick)
if (old_color)
free (old_color);
-
- /* enable hotlist */
- weechat_buffer_set (NULL, "hotlist", "+");
}
break;
}