1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

irc: fix self nick color in server messages after nick is changed with /nick (bug #39415)

This commit is contained in:
Sebastien Helleu
2013-07-19 10:18:20 +02:00
parent fb86f21a5f
commit dfcc7baa40
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -1,7 +1,7 @@
WeeChat ChangeLog
=================
Sébastien Helleu <flashcode@flashtux.org>
v0.4.2-dev, 2013-07-18
v0.4.2-dev, 2013-07-19
This document lists all changes for each version.
@@ -34,6 +34,8 @@ Version 0.4.2 (under dev!)
* core: fix line alignment when option weechat.look.buffer_time_format is set
to empty string
* aspell: add support of enchant library (patch #6858)
* irc: fix self nick color in server messages after nick is changed with /nick
(bug #39415)
* irc: add support of wildcards in commands (de)op/halfop/voice (task #9221)
* irc: add option irc.look.pv_tags
* irc: fix error message on /invite without arguments (bug #39272)
+1 -1
View File
@@ -709,7 +709,7 @@ irc_nick_change (struct t_irc_server *server, struct t_irc_channel *channel,
irc_nick_nicklist_remove (server, channel, nick);
/* update nicks speaking */
nick_is_me = (irc_server_strcasecmp (server, nick->name, server->nick) == 0) ? 1 : 0;
nick_is_me = (irc_server_strcasecmp (server, new_nick, server->nick) == 0) ? 1 : 0;
if (!nick_is_me)
irc_channel_nick_speaking_rename (channel, nick->name, new_nick);