diff options
-rw-r--r-- | src/plugins/irc/irc-protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c index e051e67b8..95e845816 100644 --- a/src/plugins/irc/irc-protocol.c +++ b/src/plugins/irc/irc-protocol.c @@ -800,8 +800,8 @@ irc_protocol_cmd_nick (struct t_irc_server *server, char *command, { free (ptr_channel->name); ptr_channel->name = strdup (new_nick); + weechat_buffer_set (ptr_channel->buffer, "name", new_nick); } - weechat_buffer_set (ptr_channel->buffer, "name", new_nick); break; case IRC_CHANNEL_TYPE_CHANNEL: /* rename nick in nicklist if found */ |