1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 00:03:12 +02:00

Added numeric argument for /clear command (buffer number) (patch #5372)

This commit is contained in:
Sebastien Helleu
2007-02-03 08:49:23 +00:00
parent 0e113ded09
commit ef43b3e013
26 changed files with 3276 additions and 3026 deletions
+6
View File
@@ -378,6 +378,12 @@ gui_buffer_clear (t_gui_buffer *buffer)
{
t_gui_window *ptr_win;
t_gui_line *ptr_line;
if (!buffer)
return;
if (buffer->type == BUFFER_TYPE_DCC)
return;
/* remove buffer from hotlist */
hotlist_remove_buffer (buffer);