diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-11-09 10:26:22 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-11-09 10:26:22 +0100 |
commit | 757cbcb999dcfb2c68ecb782e26b5dd63e42216d (patch) | |
tree | fc2cc4341c74614e06338101940d61d229d2924c /src/plugins/script/script.c | |
parent | 34783c1006b5860d8bc46700969f963af27ab1e4 (diff) | |
download | weechat-757cbcb999dcfb2c68ecb782e26b5dd63e42216d.zip |
script: load plugin even if options can not be read in script.conf (with warnings)
Diffstat (limited to 'src/plugins/script/script.c')
-rw-r--r-- | src/plugins/script/script.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/script/script.c b/src/plugins/script/script.c index 37a92e4d1..7c3454499 100644 --- a/src/plugins/script/script.c +++ b/src/plugins/script/script.c @@ -372,8 +372,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[]) if (!script_config_init ()) return WEECHAT_RC_ERROR; - if (script_config_read () < 0) - return WEECHAT_RC_ERROR; + script_config_read (); weechat_mkdir_home (SCRIPT_PLUGIN_NAME, 0755); |