summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2005-02-22 19:35:52 +0000
committerSebastien Helleu <flashcode@flashtux.org>2005-02-22 19:35:52 +0000
commit575565371bb1e4aa562ee72fbe9564fbd5da953c (patch)
treec089a77ec496d0abc741b2c20f301db2d0a7895a
parent24d0c49ae447a1c2184ed500390561cbcf00f0bb (diff)
downloadweechat-575565371bb1e4aa562ee72fbe9564fbd5da953c.zip
Nicklist now refreshed when using multiple windows
-rw-r--r--src/irc/irc-recv.c3
-rw-r--r--weechat/src/irc/irc-recv.c3
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);
}
}