From ff526c31684cc825ae0542fb0d35e76720f6d6ea Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sun, 4 May 2008 19:16:09 +0200 Subject: Fixed bug with pv buffer name (this name was changed when someone changes nick on server) --- src/plugins/irc/irc-protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') 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 */ -- cgit v1.2.3