summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ();