summaryrefslogtreecommitdiff
path: root/src/irc/irc-recv.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2005-03-15 21:15:36 +0000
committerSebastien Helleu <flashcode@flashtux.org>2005-03-15 21:15:36 +0000
commitbbd4011020b1887fde10054c65fc9914b6350b18 (patch)
tree21271c0a2196704bfc945a7e38b5f224c07d363c /src/irc/irc-recv.c
parent15244320074a59d29446a39d23aa2c75a5dc35a5 (diff)
downloadweechat-bbd4011020b1887fde10054c65fc9914b6350b18.zip
Added nicks count for channel buffers
Diffstat (limited to 'src/irc/irc-recv.c')
-rw-r--r--src/irc/irc-recv.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/irc/irc-recv.c b/src/irc/irc-recv.c
index 9266b37b4..57eac32b4 100644
--- a/src/irc/irc-recv.c
+++ b/src/irc/irc-recv.c
@@ -243,6 +243,7 @@ irc_cmd_recv_join (t_irc_server *server, char *host, char *arguments)
"%s\n", arguments);
(void) nick_new (ptr_channel, host, 0, 0, 0, 0, 0);
gui_draw_buffer_nick (ptr_channel->buffer, 1);
+ gui_draw_buffer_status (ptr_channel->buffer, 1);
return 0;
}
@@ -338,6 +339,7 @@ irc_cmd_recv_kick (t_irc_server *server, char *host, char *arguments)
{
nick_free (ptr_channel, ptr_nick);
gui_draw_buffer_nick (ptr_channel->buffer, 1);
+ gui_draw_buffer_status (ptr_channel->buffer, 1);
}
}
return 0;
@@ -975,10 +977,10 @@ irc_cmd_recv_part (t_irc_server *server, char *host, char *arguments)
COLOR_WIN_CHAT_DARK, ")");
}
gui_printf (ptr_channel->buffer, "\n");
-
- /* redraw nick list if this is current buffer */
+
if (gui_buffer_has_nicklist (ptr_channel->buffer))
gui_draw_buffer_nick (ptr_channel->buffer, 1);
+ gui_draw_buffer_status (ptr_channel->buffer, 1);
}
}
}
@@ -1540,6 +1542,7 @@ irc_cmd_recv_quit (t_irc_server *server, char *host, char *arguments)
COLOR_WIN_CHAT_DARK, ")\n");
if (gui_buffer_has_nicklist (ptr_channel->buffer))
gui_draw_buffer_nick (ptr_channel->buffer, 1);
+ gui_draw_buffer_status (ptr_channel->buffer, 1);
}
}
@@ -3064,6 +3067,7 @@ irc_cmd_recv_353 (t_irc_server *server, char *host, char *arguments)
}
}
gui_draw_buffer_nick (ptr_channel->buffer, 1);
+ gui_draw_buffer_status (ptr_channel->buffer, 1);
}
else
{