summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-config.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-11-29 09:46:45 +0100
committerSébastien Helleu <flashcode@flashtux.org>2023-11-29 10:00:54 +0100
commitde82d50768e8c3c1ea9b8961fa9e3c92a5a833db (patch)
tree0dc5f2fbbf6d9558bc14cff65fb0b48405866091 /src/plugins/irc/irc-config.c
parentf7b7e3975a3806e09f7e2097fecb6d59c259fce8 (diff)
downloadweechat-de82d50768e8c3c1ea9b8961fa9e3c92a5a833db.zip
irc: remove unneeded error message when an unknown server option is read in config file (issue #1039)
This is not needed because an error is already displayed by WeeChat core and the IRC error doesn't add anything relevant to the user.
Diffstat (limited to 'src/plugins/irc/irc-config.c')
-rw-r--r--src/plugins/irc/irc-config.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/irc/irc-config.c b/src/plugins/irc/irc-config.c
index 6c9973497..8e1e81dca 100644
--- a/src/plugins/irc/irc-config.c
+++ b/src/plugins/irc/irc-config.c
@@ -2799,14 +2799,6 @@ irc_config_server_read_cb (const void *pointer, void *data,
}
}
- if (rc == WEECHAT_CONFIG_OPTION_SET_ERROR)
- {
- weechat_printf (
- NULL,
- _("%s%s: error creating server option \"%s\""),
- weechat_prefix ("error"), IRC_PLUGIN_NAME, option_name);
- }
-
return rc;
}