summaryrefslogtreecommitdiff
path: root/src/common/weechat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/weechat.c')
-rw-r--r--src/common/weechat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/weechat.c b/src/common/weechat.c
index 4c4ba7f6c..0243383aa 100644
--- a/src/common/weechat.c
+++ b/src/common/weechat.c
@@ -411,6 +411,7 @@ wee_create_home_dirs ()
fprintf (stderr, _("%s unable to create ~/.weechat/logs directory\n"),
WEECHAT_WARNING);
}
+ chmod (dir_name, 0700);
free (dir_name);
}