summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-11-09 10:24:08 +0100
committerSebastien Helleu <flashcode@flashtux.org>2013-11-09 10:24:08 +0100
commitaaf991a7b953d81bf6620565cd6e65bb5727f43f (patch)
treee27e2f160765c1954b0c87155ec3b8052f36765e /src
parent91f76dc771ba22b685ad280c4dcda1f576e147cd (diff)
downloadweechat-aaf991a7b953d81bf6620565cd6e65bb5727f43f.zip
irc: load plugin even if options can not be read in irc.conf (with warnings)
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/irc/irc.c b/src/plugins/irc/irc.c
index 420b67fb0..a9dea1da9 100644
--- a/src/plugins/irc/irc.c
+++ b/src/plugins/irc/irc.c
@@ -163,8 +163,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
if (!irc_config_init ())
return WEECHAT_RC_ERROR;
- if (irc_config_read () < 0)
- return WEECHAT_RC_ERROR;
+ irc_config_read ();
irc_command_init ();