diff options
Diffstat (limited to 'src/core/core-string.c')
-rw-r--r-- | src/core/core-string.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/core-string.c b/src/core/core-string.c index 4b8f3c957..20202616e 100644 --- a/src/core/core-string.c +++ b/src/core/core-string.c @@ -1153,6 +1153,8 @@ string_eval_path_home (const char *path, ptr_directory = weechat_config_dir; else if (strcmp (ptr_option_directory, "data") == 0) ptr_directory = weechat_data_dir; + else if (strcmp (ptr_option_directory, "state") == 0) + ptr_directory = weechat_state_dir; else if (strcmp (ptr_option_directory, "cache") == 0) ptr_directory = weechat_cache_dir; else if (strcmp (ptr_option_directory, "runtime") == 0) |