diff options
Diffstat (limited to 'src/plugins/script/script-action.c')
-rw-r--r-- | src/plugins/script/script-action.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/script/script-action.c b/src/plugins/script/script-action.c index 9791d4fc8..393437904 100644 --- a/src/plugins/script/script-action.c +++ b/src/plugins/script/script-action.c @@ -1437,6 +1437,9 @@ script_action_schedule (const char *action, int need_repository, int quiet) { script_action_add (action); + /* create again "script" directory, just in case it has been removed */ + weechat_mkdir_home (SCRIPT_PLUGIN_NAME, 0755); + if (need_repository) { if (script_repo_file_is_uptodate ()) |