From 9123c6f1780a35f775999ac265c9630e37c2b91d Mon Sep 17 00:00:00 2001 From: altffour Date: Wed, 6 Jan 2021 19:46:52 +0300 Subject: [PATCH] add logic to default to XDG disabled - defaults to XDG disabled unless the directory is present --- src/core/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/core.c b/src/core/core.c index 5c6a98de..f8de46dc 100644 --- a/src/core/core.c +++ b/src/core/core.c @@ -200,6 +200,7 @@ void core_preinit(const char *path) char *str; int len; + xdg_support = 0; if (irssi_dir == NULL) { /* check if %XDG_CONFIG_HOME/irssi exists and default to it */ char *dirp = g_build_filename(g_get_user_config_dir(), "irssi", NULL);