From 48ac3c4f989eb5e25105896649e90dd01dcfb9ca Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Fri, 14 Nov 2008 14:43:04 +0100 Subject: Catch signal "buffer_renamed" in logger plugin (restart logging for buffer when name has changed) --- src/plugins/irc/irc-protocol.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/irc/irc-protocol.c') diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c index edd4dae7f..6c6c3ed17 100644 --- a/src/plugins/irc/irc-protocol.c +++ b/src/plugins/irc/irc-protocol.c @@ -655,6 +655,8 @@ irc_protocol_cmd_nick (struct t_irc_server *server, const 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, + "localvar_set_channel", new_nick); } break; case IRC_CHANNEL_TYPE_CHANNEL: -- cgit v1.2.3