From de82d50768e8c3c1ea9b8961fa9e3c92a5a833db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Wed, 29 Nov 2023 09:46:45 +0100 Subject: [PATCH] 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. --- src/plugins/irc/irc-config.c | 8 -------- 1 file changed, 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; }