summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-01-08 19:26:51 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-01-08 19:26:51 +0000
commitb3b1ab104b2364a6436430ee84739bbcb7ccfef5 (patch)
tree213ec199cdf0fe4382a698d3d4c53eaf47dde359 /src/irc
parent05992a34f3c7b0b252fe863ba1561963cdb02d22 (diff)
downloadweechat-b3b1ab104b2364a6436430ee84739bbcb7ccfef5.zip
Fixed hotlist display bug with server buffer when all servers are displayed on
same buffer (display was current server instead of server with activity)
Diffstat (limited to 'src/irc')
-rw-r--r--src/irc/irc-dcc.c2
-rw-r--r--src/irc/irc-recv.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/irc/irc-dcc.c b/src/irc/irc-dcc.c
index 6bbfe8a48..2729d100a 100644
--- a/src/irc/irc-dcc.c
+++ b/src/irc/irc-dcc.c
@@ -60,7 +60,7 @@ dcc_redraw (int highlight)
gui_redraw_buffer (gui_get_dcc_buffer (gui_current_window));
if (highlight)
{
- hotlist_add (highlight, gui_get_dcc_buffer (gui_current_window));
+ hotlist_add (highlight, NULL, gui_get_dcc_buffer (gui_current_window));
gui_draw_buffer_status (gui_current_window->buffer, 0);
}
}
diff --git a/src/irc/irc-recv.c b/src/irc/irc-recv.c
index d0af719c5..42648447c 100644
--- a/src/irc/irc-recv.c
+++ b/src/irc/irc-recv.c
@@ -365,7 +365,7 @@ irc_cmd_recv_invite (t_irc_server *server, char *host, char *nick, char *argumen
GUI_COLOR(COLOR_WIN_CHAT),
GUI_COLOR(COLOR_WIN_CHAT_NICK),
nick);
- hotlist_add (HOTLIST_HIGHLIGHT, server->buffer);
+ hotlist_add (HOTLIST_HIGHLIGHT, server, server->buffer);
gui_draw_buffer_status (gui_current_window->buffer, 1);
}
}
@@ -1290,7 +1290,7 @@ irc_cmd_recv_notice (t_irc_server *server, char *host, char *nick, char *argumen
(ascii_strcasecmp (nick, "chanserv") != 0) &&
(ascii_strcasecmp (nick, "memoserv") != 0))
{
- hotlist_add (HOTLIST_PRIVATE, server->buffer);
+ hotlist_add (HOTLIST_PRIVATE, server, server->buffer);
gui_draw_buffer_status (gui_current_window->buffer, 1);
}
}