summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2024-03-16 21:33:08 +0100
committerSébastien Helleu <flashcode@flashtux.org>2024-03-16 21:33:08 +0100
commitc05b22807888731237db6bec422353ec5975270c (patch)
tree9324fbbcf7efe96022957177cf3652391d634292 /src/gui
parentd462667ee643b81a76cff08c2f4aa3311e69d50f (diff)
downloadweechat-c05b22807888731237db6bec422353ec5975270c.zip
core: sort hotlist and remove buffer even while upgrading
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui-hotlist.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/gui-hotlist.c b/src/gui/gui-hotlist.c
index 585173fc3..8e947d9a0 100644
--- a/src/gui/gui-hotlist.c
+++ b/src/gui/gui-hotlist.c
@@ -549,9 +549,6 @@ gui_hotlist_resort ()
struct t_gui_hotlist *new_hotlist, *last_new_hotlist;
struct t_gui_hotlist *ptr_hotlist, *element;
- if (weechat_upgrading)
- return;
-
/* copy and resort hotlist in new linked list */
new_hotlist = NULL;
last_new_hotlist = NULL;
@@ -695,7 +692,7 @@ gui_hotlist_remove_buffer (struct t_gui_buffer *buffer,
int hotlist_changed, hotlist_remove, buffer_to_remove;
struct t_gui_hotlist *ptr_hotlist, *next_hotlist;
- if (!buffer || weechat_upgrading)
+ if (!buffer)
return;
hotlist_changed = 0;