From 575565371bb1e4aa562ee72fbe9564fbd5da953c Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 22 Feb 2005 19:35:52 +0000 Subject: Nicklist now refreshed when using multiple windows --- src/irc/irc-recv.c | 3 +-- weechat/src/irc/irc-recv.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/irc/irc-recv.c b/src/irc/irc-recv.c index 1195d7c71..8f917d30c 100644 --- a/src/irc/irc-recv.c +++ b/src/irc/irc-recv.c @@ -1389,8 +1389,7 @@ irc_cmd_recv_quit (t_irc_server *server, char *host, char *arguments) arguments); gui_printf_color (ptr_channel->buffer, COLOR_WIN_CHAT_DARK, ")\n"); - if ((ptr_channel->buffer == gui_current_window->buffer) && - (gui_buffer_has_nicklist (ptr_channel->buffer))) + if (gui_buffer_has_nicklist (ptr_channel->buffer)) gui_draw_buffer_nick (ptr_channel->buffer, 1); } } diff --git a/weechat/src/irc/irc-recv.c b/weechat/src/irc/irc-recv.c index 1195d7c71..8f917d30c 100644 --- a/weechat/src/irc/irc-recv.c +++ b/weechat/src/irc/irc-recv.c @@ -1389,8 +1389,7 @@ irc_cmd_recv_quit (t_irc_server *server, char *host, char *arguments) arguments); gui_printf_color (ptr_channel->buffer, COLOR_WIN_CHAT_DARK, ")\n"); - if ((ptr_channel->buffer == gui_current_window->buffer) && - (gui_buffer_has_nicklist (ptr_channel->buffer))) + if (gui_buffer_has_nicklist (ptr_channel->buffer)) gui_draw_buffer_nick (ptr_channel->buffer, 1); } } -- cgit v1.2.3