summaryrefslogtreecommitdiff
path: root/src/core/wee-upgrade.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2016-08-16 21:22:28 +0200
committerSébastien Helleu <flashcode@flashtux.org>2016-08-16 21:22:28 +0200
commita01ecb276ff43962d0380cda67db12a91aeab39a (patch)
tree0352bc4d3ee6c981f7a703ad4a56ed5fd1f700e5 /src/core/wee-upgrade.c
parentebb43c4a54f17475b311383a366ec2230365965e (diff)
downloadweechat-a01ecb276ff43962d0380cda67db12a91aeab39a.zip
core: add optional argument "lowest", "highest" or level mask in command /input hotlist_clear
Diffstat (limited to 'src/core/wee-upgrade.c')
-rw-r--r--src/core/wee-upgrade.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/wee-upgrade.c b/src/core/wee-upgrade.c
index 00776a63a..b0bff36c8 100644
--- a/src/core/wee-upgrade.c
+++ b/src/core/wee-upgrade.c
@@ -723,7 +723,7 @@ upgrade_weechat_read_hotlist (struct t_infolist *infolist)
if (!hotlist_reset)
{
- gui_hotlist_clear ();
+ gui_hotlist_clear (GUI_HOTLIST_MASK_MAX);
hotlist_reset = 1;
}
plugin_name = infolist_string (infolist, "plugin_name");
@@ -846,7 +846,7 @@ upgrade_weechat_load ()
upgrade_file_close (upgrade_file);
if (!hotlist_reset)
- gui_hotlist_clear ();
+ gui_hotlist_clear (GUI_HOTLIST_MASK_MAX);
gui_color_buffer_assign ();
gui_color_buffer_display ();