1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

script: add option enable in command /script, improve error displayed when download of scripts is disabled

This commit is contained in:
Sébastien Helleu
2024-03-19 20:45:22 +01:00
parent 7aa5d718a8
commit 762d71012a
17 changed files with 333 additions and 162 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ script_download_enabled (int display_error)
/* download not enabled: display an error */
weechat_printf (NULL,
_("%s%s: download of scripts is disabled by default; "
"see /help script.scripts.download_enabled"),
"to enable it, type /script enable"),
weechat_prefix ("error"),
SCRIPT_PLUGIN_NAME);
}