summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-05-04 19:16:09 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-05-04 19:16:09 +0200
commitff526c31684cc825ae0542fb0d35e76720f6d6ea (patch)
treeabc4547d4d0df810c67c45181fe9ff408b9c6e80 /src/plugins
parent1f67c87900379b7934a676a27aa7e152a7d63daa (diff)
downloadweechat-ff526c31684cc825ae0542fb0d35e76720f6d6ea.zip
Fixed bug with pv buffer name (this name was changed when someone changes nick on server)
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/irc/irc-protocol.c2
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 */