summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-09-30 09:55:19 +0200
committerSebastien Helleu <flashcode@flashtux.org>2009-09-30 09:55:19 +0200
commit79fd2aa3173962575e1e30a4a267647910e29978 (patch)
treeb944de6d27d4fef9153a47c76766bfbb208598c6 /src
parent9bbd093ffe1ebdbcef90ef3c43a35ce1504a1273 (diff)
downloadweechat-79fd2aa3173962575e1e30a4a267647910e29978.zip
Remove buffer from hotlist when buffer is cleared (bug #27530)
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui-buffer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/gui-buffer.c b/src/gui/gui-buffer.c
index a85e7d944..b606b84fb 100644
--- a/src/gui/gui-buffer.c
+++ b/src/gui/gui-buffer.c
@@ -1434,6 +1434,8 @@ gui_buffer_clear (struct t_gui_buffer *buffer)
}
}
+ gui_hotlist_remove_buffer (buffer);
+
gui_buffer_ask_chat_refresh (buffer, 2);
}