summaryrefslogtreecommitdiff
path: root/src/irc/irc-recv.c
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/irc-recv.c
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/irc-recv.c')
-rw-r--r--src/irc/irc-recv.c4
1 files changed, 2 insertions, 2 deletions
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);
}
}