summaryrefslogtreecommitdiff
path: root/src/core/wee-upgrade.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/wee-upgrade.c')
-rw-r--r--src/core/wee-upgrade.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/wee-upgrade.c b/src/core/wee-upgrade.c
index ad7b0b505..ccc24ef37 100644
--- a/src/core/wee-upgrade.c
+++ b/src/core/wee-upgrade.c
@@ -481,6 +481,17 @@ upgrade_weechat_read_cb (void *data,
{
upgrade_current_buffer->day_change = 1;
}
+ if (infolist_search_var (infolist, "clear"))
+ {
+ upgrade_current_buffer->clear =
+ infolist_integer (infolist, "clear");
+ }
+ else
+ {
+ upgrade_current_buffer->clear =
+ (upgrade_current_buffer->type == GUI_BUFFER_TYPE_FREE) ?
+ 0 : 1;
+ }
upgrade_current_buffer->nicklist_case_sensitive =
infolist_integer (infolist, "nicklist_case_sensitive");
upgrade_current_buffer->nicklist_display_groups =