summaryrefslogtreecommitdiff
path: root/src/plugins/logger/logger.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-11-09 10:24:40 +0100
committerSebastien Helleu <flashcode@flashtux.org>2013-11-09 10:24:40 +0100
commit7bac9f377e48aedf8702014a0d7fba4075d33fe3 (patch)
treefa4325bd24289015081796c76b8af87605768fbf /src/plugins/logger/logger.c
parentaaf991a7b953d81bf6620565cd6e65bb5727f43f (diff)
downloadweechat-7bac9f377e48aedf8702014a0d7fba4075d33fe3.zip
logger: load plugin even if options can not be read in logger.conf (with warnings)
Diffstat (limited to 'src/plugins/logger/logger.c')
-rw-r--r--src/plugins/logger/logger.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/logger/logger.c b/src/plugins/logger/logger.c
index 81cbad5a5..73dcb37d5 100644
--- a/src/plugins/logger/logger.c
+++ b/src/plugins/logger/logger.c
@@ -1311,8 +1311,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
if (!logger_config_init ())
return WEECHAT_RC_ERROR;
- if (logger_config_read () < 0)
- return WEECHAT_RC_ERROR;
+ logger_config_read ();
/* command /logger */
weechat_hook_command ("logger",