diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-11-14 14:43:04 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-11-14 14:43:04 +0100 |
commit | 48ac3c4f989eb5e25105896649e90dd01dcfb9ca (patch) | |
tree | 4e19127792c6569980a0f2ac76a353e6088f044e /src/plugins/irc/irc-protocol.c | |
parent | ac66ce6a74d60483f261242127865ec93f48738f (diff) | |
download | weechat-48ac3c4f989eb5e25105896649e90dd01dcfb9ca.zip |
Catch signal "buffer_renamed" in logger plugin (restart logging for buffer when name has changed)
Diffstat (limited to 'src/plugins/irc/irc-protocol.c')
-rw-r--r-- | src/plugins/irc/irc-protocol.c | 2 |
1 files changed, 2 insertions, 0 deletions
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: |